Figuring out the correct height / width of scrollbars under Linux
Jan Schenkel
janschenkel at yahoo.com
Thu Jan 9 05:56:18 EST 2014
Hi Malte,
I have no idea where you could get this data, so here's what I could find in LiveCode itself:
- the Dictionary entry for property 'scrollbarWidth' claims to have default values of 16 pixels for MacOS and 20 pixels on Linux/Windows
- the Data Grid applies 15 pixels on MacOS, 16 pixels on Linux, and checks the registry on Windows (with a default value of 17 pixels if it's not allowed to read the registry).
- the Tools palette applies the values set in the Preferences - Object Sizes panel.
If you ever find a way to extract gnome-control-center information on Linux via shell calls, make sure to let me know as I'd love to find the theme colors data :-)
HTH,
Jan Schenkel.
=====
Quartam Reports & PDF Library for LiveCode
www.quartam.com
=====
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)
--------------------------------------------
On Thu, 1/9/14, Malte Brill <revolution at derbrill.de> wrote:
Subject: Figuring out the correct height / width of scrollbars under Linux
To: use-livecode at lists.runrev.com
Date: Thursday, January 9, 2014, 1:03 AM
Hi all,
is there a way to figure out how wide / heigh a scrollbar
needs to be under Linux to draw all of the scrollbar, but
not leaving you with empty space around it? Can this be
figured out by script? It appears that under UBUNTU this
would be 14 Pixels. Is there a difference between
Windowmanagers?
Thanks in advance,
Malte
_______________________________________________
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