question about the layout element

hi guys
I am learning the new UGUI in unity 4.6.1. now I meet a problem about the layout element using . I added a Horizontal layout on the panel , then all buttons insided are scaled to fit the panel , after tha I added layout element on one button , then adjusted the flexible width value .
As the official Doc said , the button should keep the original width when the flexible width value is set as 0 ,which means no stretching , and when this values set as 1 the button will follow the stretch with panel .
but now I found no changes whatever I set 0 or 1 … I dont know which step I did wrong or misunderstand some points .

hope you guys can help me , thanks `~~~

1 Like

You will also need to turn off the “Child Force Expand” on the Layout group for the dimension you want to expand, the Width in your case

1 Like

I have problem same topic
Thank you so much SimonDarksideJ

No worries @BuFFaloBaBa hope it helps.

sorry I forgot to read this , I had found the same solution ,still thanks for your help :slight_smile: