Hi Ken,
The problem I'm having is centering two controls - one is a button with an
icon assigned to it and set to not display the name, and the other is a
label immediately below the icon that displays what would normally be the
button name.  I set the two obects to have their vertical centers aligned
during design.  All looks fine on the Mac but in the standalone Windows
version, they're not quite centered any more.

Also wanted to pass on a little change I made in your script for setting
fonts on different platforms, and that's our good old friend the datagrid.
 In order to set the text font used in a datagrid, you have to set the
dgprops["text font] of the datagrid, not the normal textfont property.
 Datagrids also have a "text size" and "text style" properties.  But all is
working just fine now so thanks for the pointers.

Pete

On Tue, Jan 24, 2012 at 1:05 PM, Ken Ray <k...@sonsothunder.com> wrote:

> Oh also one thing that people forget about is that buttons have 'margins'
> just like fields do; I can't tell you how many times I've had to set the
> margins of a button to 'nudge' the label one way or the other… so you may
> be able to keep the width of the button, but just adjust the margins when
> the card is opened.




-- 
Pete
Molly's Revenge <http://www.mollysrevenge.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

Reply via email to