Found it SCROLLBARSIZE in the Global Attributes page. Thanks.
On Fri, Nov 14, 2014 at 10:12 AM, Milind Gupta <[email protected]>
wrote:
> Which global attribute can get me the size of the scroll bar? I could not
> find it.
>
> On Fri, Nov 14, 2014 at 4:19 AM, Antonio Scuri <[email protected]>
> wrote:
>
>> Each line/column will have 8 pixels more considering the decoration.
>> And the matrix total height/width sums the size of the scrollbar (visible
>> or not, can get it with a global atribute) and 2 pixels if BORDER=Yes (the
>> default).
>>
>> But instead of using DRAWSIZE, use RASTERSIZE.
>>
>> Best,
>> Scuri
>>
>>
>> On Thu, Nov 13, 2014 at 11:20 PM, Milind Gupta <[email protected]>
>> wrote:
>>
>>> Thanks. I am doing FITTOSIZE for the columns and that does what I want.
>>> But I don't want the row heights to be changed for all just the last one.
>>> So I was reading the drawsize of the matrix. Subtracting the rasterheight
>>> of each row (but last) from it and setting the remaining as the height of
>>> the last row. This works but it is just a bit larger so that the vertical
>>> scrollbar needs to be displayed and can scroll a bit. Is there a way to
>>> compute the size more precisely?
>>>
>>> Thanks,
>>> Milind
>>>
>>> On Thu, Nov 13, 2014 at 5:39 AM, Antonio Scuri <[email protected]
>>> > wrote:
>>>
>>>> Hi,
>>>>
>>>> The matrix has decorations that you are not counting when setting the
>>>> size. So if you set to all columns to use the fill vbox size then the
>>>> matrix size itself will be larger than the vbox the next time the layout is
>>>> computed.
>>>>
>>>> I think FITTOSIZE will do exactly what you need. But you will have to
>>>> reset the column size before setting fittosize. See the documentation.
>>>>
>>>> Best,
>>>> Scuri
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Fri, Nov 7, 2014 at 3:29 PM, Milind Gupta <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>> I thought I should have posted this in a separate thread since
>>>>> it is a different issue:
>>>>>
>>>>> I have this example script which I am using to adjust the matrix size
>>>>> so that it fits in the entire layout box it is in. But somehow the
>>>>> container keeps growing in size and grows larger than the main dialog. I
>>>>> don't understand why the container is growing?
>>>>> Please let me know what am I doing wrong in this approach.
>>>>>
>>>>> Thanks,
>>>>> Milind
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>>
>>>>> _______________________________________________
>>>>> Iup-users mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>>>>
>>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Comprehensive Server Monitoring with Site24x7.
>>>> Monitor 10 servers for $9/Month.
>>>> Get alerted through email, SMS, voice calls or mobile push
>>>> notifications.
>>>> Take corrective actions from your mobile device.
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Iup-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Comprehensive Server Monitoring with Site24x7.
>>> Monitor 10 servers for $9/Month.
>>> Get alerted through email, SMS, voice calls or mobile push notifications.
>>> Take corrective actions from your mobile device.
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Iup-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Comprehensive Server Monitoring with Site24x7.
>> Monitor 10 servers for $9/Month.
>> Get alerted through email, SMS, voice calls or mobile push notifications.
>> Take corrective actions from your mobile device.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Iup-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>
>>
>
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users