MobGUI Issue 1.0 - Icon Size

This is the place to discuss anything relating to MobGUI

Moderators: heatherlaine, kevinmiller, robinmiller, malte, splash21

Post Reply
robl
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 62
Joined: Wed Dec 22, 2010 9:50 pm
Location: 3rd planet from the Sun

MobGUI Issue 1.0 - Icon Size

Post by robl » Mon Jan 20, 2014 1:48 am

I am seeing some odd behavior with 1.0 and Icon Buttons. If I change the size of the icon (character size of the mobguicons-1), the size is shown to be smaller on the MobGUI palette (in the text field beside the icon font name) but still shows as the same size on the button itself.

Icons / icon font needs to scale on the actual button as there are times when the icon needs to be scaled to a smaller or larger size (i.e. toolbar, navbar or tab bar).

Image

splash21
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 369
Joined: Sun Dec 19, 2010 1:10 am
Location: UK
Contact:

Re: MobGUI Issue 1.0 - Icon Size

Post by splash21 » Mon Jan 20, 2014 12:11 pm

Hi, robl. I fixed the icon size - the property was set, but the behavior script never reset the field's font size.
IconSizes.png
IconSizes.png (14.14 KiB) Viewed 3470 times
I had to manually edit the group and change the margin to 4 on the mgcIcon field to get the smallest to display correctly. I've not got a 100% working recipe for setting field margins that work at all sizes (yet). V1.01 uploaded..
LiveCode Development & Training : http://splash21.com

robl
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 62
Joined: Wed Dec 22, 2010 9:50 pm
Location: 3rd planet from the Sun

Re: MobGUI Issue 1.0 - Icon Size

Post by robl » Wed Jan 22, 2014 12:00 am

Thanks, John! I think with this last correction, MobGUI has all I need to finish up version 1.0 of an app I have been working on.

R/ Robert

Post Reply

Return to “MobGUI”