Group problem
Thomas McGrath III
mcgrath3 at mac.com
Tue Feb 22 14:06:45 EST 2011
Any ideas why the first one below will work and the second one doesn't???
-- In a button to create a Navigation Bar at the top of the card. I have a background that works and then two groups one for each of two buttons - the back button group duplicates and is positioned at the top left 6 pixels in and is in it's group. The Done group ends up having a group area near where it's supposed to be but the actual graphics in that group are centered out of view of the group bounds so you can't see it at all. It is in the Application Window and when I resize the group manually down I can then see the graphics in it. But they are not positioned even close to where they should etc.
put "Sample" into tBKG
put tBKG & "BackGroup" into tBack
select group "UINavBarDefaultBack" of card "NavigationBar"
copy
paste
set the name of it to tBack
set the loc of group tBack to the loc of image tBKG
set the left of group tBack to (the left of image tBKG + 6)
put tBKG & "DoneGroup" into tDone
select group "UINavBarDefaultDone" of card "NavigationBar"
copy
paste
set the name of it to tDone
set the loc of group tDone to the loc of image tBKG
set the right of group tDone to (the right of image tBKG - 6)
4.6 dp5
Thanks
-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgrath at comcast.net
More information about the use-livecode
mailing list