formattedHeight and scrollbars

dunbarx at aol.com dunbarx at aol.com
Wed Feb 16 19:02:55 EST 2011


A fun revlet.


The way you made it, it can be seen that a horizontal scrollbar not only takes up its own height, but intrudes that amount into the lower part of the field as well. That is why it takes twice its height from the formattedHeight.


But when I just add a hor scrollbar to a field, by changing the hScrollBar property, the scrollbar only subtends a portion of the bottom of the field. The bottom does not move. Nonetheless, per the original post, the formattedheight loses more than it seems it ought to. I am playing with this, and it seems that it may not have anything to do with the actual height of the Hor scrollBar.




-----Original Message-----
From: BNig <niggemann at uni-wh.de>
To: use-revolution at lists.runrev.com
Sent: Wed, Feb 16, 2011 6:37 pm
Subject: Re: formattedHeight and scrollbars



Hi Claus,

I made a little revlet that shows what impacts the formattedHeight of a
field:

http://berndniggemann.on-rev.com/marginsrevlet/

among other things the scrollbars and their size furthermor the margins, the
borderwith the textsize and the textheight. I hope I did not forget
anything. Before 4.5 on a Mac the focusborder also added to the
formattedHeight if I remember correctly.

Kind regards

Bernd
-- 
View this message in context: http://runtime-revolution.278305.n4.nabble.com/formattedHeight-and-scrollbars-tp3309720p3309965.html
Sent from the Revolution - User mailing list archive at Nabble.com.

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 



More information about the Use-livecode mailing list