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 <niggem...@uni-wh.de>
To: use-revolut...@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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

Reply via email to