button width on different platforms

Richmond Mathewson richmondmathewson at gmail.com
Wed Jan 4 14:11:52 EST 2017


Yes; many, many times: this is even, potentially a problem on a single 
platform as you have no idea as to
what fonts someone has installed in their system.

I gave up using real buttons about 12 years ago just because I was 
deploying stuff across
Windows, Macintosh and Linux.

What I do, instead, is make a button up to look the way I want it 
(normally on Macintosh with the Charcoal
  font, or on Xubuntu with the Ubuntu font) and then import a snapshot 
of the button so I end up with an image
that will look the same regardless of which platform it is seen on.

Obviously this involves a little extra time, but in terms of aesthetics 
it wins hands down as you know
that no-one is going to open up your standalone and be faced with a 
"tar" or a "o nex" button.

Richmond.


On 1/4/17 9:05 pm, Matt Maier wrote:
> I've got some buttons with text in them. On Windows (where I develop) they
> look fine. On Linux the buttons are a little bit narrower so the text is
> cut off.
>
> Anyone handled a similar problem?
> _______________________________________________
> 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