Hi,
About the point made by pthirkell on Jan 6:
I have a bunch of icons (or other buttons) in my tab bar. In lieu of alt double click, what is the recommended way to get them all distributed nicely across the bottom of my card? I'm using the word "distributed" to mean "spaced evenly apart from each other."
Thanks much. The improvements to MobGUI are very exciting, I'm just trying to catch up.
Aji
Update for new plugin: 26th December
Moderators: heatherlaine, kevinmiller, robinmiller, malte, splash21
-
- VIP Livecode Opensource Backer
- Posts: 369
- Joined: Sun Dec 19, 2010 1:10 am
- Location: UK
- Contact:
Re: Update for new plugin: 26th December
Thanks for the feedback, Aji. I miss that function for spacing buttons too. I'll have to get it added into the new plugin
In the meantime, here's a quick plugin stack that spaces custom controls (groups) inside a group... It's was thrown together quickly, so please backup your work before trying!
I added a few icon buttons to my stack, then grouped them together - called the new group "TabGroup". I added some padding to Tabgroup by setting the margins property then resized it to the width of the stack. After selecting TabGroup in edit mode, clicking the 'Space Controls' button in the plugin spaced the tab buttons evenly inside the group.
Hopefully this will work OK for you, but I'll look at getting something more robust added!
In the meantime, here's a quick plugin stack that spaces custom controls (groups) inside a group... It's was thrown together quickly, so please backup your work before trying!
I added a few icon buttons to my stack, then grouped them together - called the new group "TabGroup". I added some padding to Tabgroup by setting the margins property then resized it to the width of the stack. After selecting TabGroup in edit mode, clicking the 'Space Controls' button in the plugin spaced the tab buttons evenly inside the group.
Hopefully this will work OK for you, but I'll look at getting something more robust added!
LiveCode Development & Training : http://splash21.com
Re: Update for new plugin: 26th December
Thanks Splash, for explaining the logic and the stack to accomplish it!
Aji
Aji