Hi Antonio,
Thanks for looking into this. The problem I see with
scrollbars right now is that they are shown if the Matrix is large enough
to fill the space it is put in. The matrix control requires that the matrix
size be smaller than the maximum size by the scroll bar size. So when the
scroll bar is not shown then we see a blank area where the scroll bars
could would be shown when the matrix increases in size.
I wanted to keep the scroll bars hidden even when the matrix
occupies the entire area of the control and only show the scroll bars when
the matrix wants to grow beyond that. Now when the scroll bars have to be
shown then to make things visible the visible area of the matrix would have
to be reduced a little bit to allow the scroll bars to be displayed.
I was trying to do it manually by sizing the matrix to the
size available and then forcing the scroll bars to auto hide by setting dx
and dy but that does not work properly because I think IUP recalculates
them and the scroll bar shows up back.
Thanks,
Milind
On Tue, Sep 15, 2015 at 12:50 PM, Antonio Scuri <sc...@tecgraf.puc-rio.br>
wrote:
> Hi Milind,
>
> I'm about to release version 3.16, but before that I would like to take
> a look at this request.
>
> So, you want the scrollbars to be enabled, and you want autohide to be
> enabled too, as in the default behavior. But you are not satisfied with the
> scrollbar auhide bahavior, that's it?
>
> So in which situation you need to hide a scrollbar that is not being
> hidden?
>
> Best,
> Scuri
>
>
> On Wed, Jul 15, 2015 at 2:59 PM, Antonio Scuri <sc...@tecgraf.puc-rio.br>
> wrote:
>
>> I don't know. I have to investigate more. The IupMatrix is quite
>> complex. But it maybe possible. I'll let you know.
>>
>> Best,
>> Scuri
>>
>>
>> On Mon, Jul 13, 2015 at 1:08 PM, Milind Gupta <milind.gu...@gmail.com>
>> wrote:
>>
>>> So do you think addition of a Hide scroll bar attribute is possible?
>>>
>>> On Mon, Jul 13, 2015 at 8:36 AM, Antonio Scuri <antonio.sc...@gmail.com>
>>> wrote:
>>>
>>>> I don't think so.
>>>>
>>>> Scuri
>>>> Em 13/07/2015 12:34, "Milind Gupta" <milind.gu...@gmail.com> escreveu:
>>>>
>>>>> Hi Antonio,
>>>>> The SCROLLBAR attribute says its on creation only. So the
>>>>> way I was hiding the scroll bar was setting dx > xmax-xmin and same for
>>>>> dy.
>>>>> But doing that in Lua does not work probably because the matrix action and
>>>>> resize call backs calculate and overwrite my value. Was there any other
>>>>> way?
>>>>>
>>>>> Milind
>>>>>
>>>>>
>>>>> On Mon, Jul 13, 2015 at 7:30 AM, Antonio Scuri <
>>>>> sc...@tecgraf.puc-rio.br> wrote:
>>>>>
>>>>>> IupMatrix inherits fom IupCanvas. Check the SCROLLBAR attribute.
>>>>>>
>>>>>> Best,
>>>>>> Scuri
>>>>>>
>>>>>>
>>>>>> On Mon, Jul 13, 2015 at 5:24 AM, Milind Gupta <milind.gu...@gmail.com
>>>>>> > wrote:
>>>>>>
>>>>>>> Hi Antonio,
>>>>>>> Is it possible to get an attribute in IUP Matrix that
>>>>>>> allows the scroll bars to be force hidden. I was able to get the
>>>>>>> behaviour
>>>>>>> by setting dx/dy in a C function in both the action and the resize call
>>>>>>> back after the internal callbacks were done. It would be nice if this
>>>>>>> is in
>>>>>>> built with a attribute like HIDESBX and HIDESBY. This allows the matrix
>>>>>>> to
>>>>>>> be drawn in the whole space without showing the reserved scroll bar
>>>>>>> size on
>>>>>>> the edges.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Milind
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Don't Limit Your Business. Reach for the Cloud.
>>>>>>> GigeNET's Cloud Solutions provide you with the tools and support that
>>>>>>> you need to offload your IT needs and focus on growing your business.
>>>>>>> Configured For All Businesses. Start Your Cloud Today.
>>>>>>> https://www.gigenetcloud.com/
>>>>>>> _______________________________________________
>>>>>>> Iup-users mailing list
>>>>>>> Iup-users@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Don't Limit Your Business. Reach for the Cloud.
>>>>>> GigeNET's Cloud Solutions provide you with the tools and support that
>>>>>> you need to offload your IT needs and focus on growing your business.
>>>>>> Configured For All Businesses. Start Your Cloud Today.
>>>>>> https://www.gigenetcloud.com/
>>>>>> _______________________________________________
>>>>>> Iup-users mailing list
>>>>>> Iup-users@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Don't Limit Your Business. Reach for the Cloud.
>>>>> GigeNET's Cloud Solutions provide you with the tools and support that
>>>>> you need to offload your IT needs and focus on growing your business.
>>>>> Configured For All Businesses. Start Your Cloud Today.
>>>>> https://www.gigenetcloud.com/
>>>>> _______________________________________________
>>>>> Iup-users mailing list
>>>>> Iup-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>>>>
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Don't Limit Your Business. Reach for the Cloud.
>>>> GigeNET's Cloud Solutions provide you with the tools and support that
>>>> you need to offload your IT needs and focus on growing your business.
>>>> Configured For All Businesses. Start Your Cloud Today.
>>>> https://www.gigenetcloud.com/
>>>> _______________________________________________
>>>> Iup-users mailing list
>>>> Iup-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Don't Limit Your Business. Reach for the Cloud.
>>> GigeNET's Cloud Solutions provide you with the tools and support that
>>> you need to offload your IT needs and focus on growing your business.
>>> Configured For All Businesses. Start Your Cloud Today.
>>> https://www.gigenetcloud.com/
>>> _______________________________________________
>>> Iup-users mailing list
>>> Iup-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>>
>>>
>>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users