1
NGUI 3 Support / How can I create this horizontal menubar filled with buttons?
« on: January 13, 2015, 03:24:29 PM »
Hi guys,
I need to create a horizontal menu, with 6 buttons for example. These buttons must have size equal screenWidth / 6 (in this case).
My main problem is when we change resolution, buttons width/size must change to fit new resolution...I already try some things using grid, table but nothing works...
I can not find a solution to button widths, that need to fit screen width. Im thinking some way to anchor it, but not found yet.
Which are the better way that I can do it?
PS: Sorry my english...
I need to create a horizontal menu, with 6 buttons for example. These buttons must have size equal screenWidth / 6 (in this case).
My main problem is when we change resolution, buttons width/size must change to fit new resolution...I already try some things using grid, table but nothing works...
I can not find a solution to button widths, that need to fit screen width. Im thinking some way to anchor it, but not found yet.
Which are the better way that I can do it?
PS: Sorry my english...
