Page 1 of 1

Resize groups and controls within

Posted: Thu Mar 28, 2013 4:23 am
by genie
Hello!

Is there an efficient way to resize a group and automatically scale the controls inside it?
or, do I really have to do the resizing on each controls individually?

I do:

Code: Select all

   set the width of group "NavBar" to tStackWidth
   set the height of group "NavBar" to 158*tHeightPerc
   set the topleft of group "NavBar" to 0,0
But the things inside NavBar do not resize... :( So, I have to:

Code: Select all

   set the width of graphic "background" of group "NavBar" to tStackWidth
   set the height of graphic "background" of group "NavBar" to 158*tHeightPerc
Thanks all!


Regards,
Genie

Re: Resize groups and controls within

Posted: Thu Mar 28, 2013 12:57 pm
by jmburnod
Hi genie,

There is a discuss about that with some exemple.
http://forums.runrev.com/phpBB2/viewtop ... MoveGroupH

I hope this help

Best regards

Jean-Marc

Re: Resize groups and controls within

Posted: Wed Apr 03, 2013 2:59 am
by genie
Thanks Jean-marc!