I use about 10-15 controls inside a WPF ToolbarTray control. Now the problem is that I am changing the resolution, the controls present in it are not adjusted according to my need in the case of a maximum window. In more detail, I attached the screenshot below.
The toolbar control panel item appeared initially: 
The toolbar tray should appear as follows (what I'm trying): 
Can someone tell me how to set up or what to do to achieve a second image like ToolbarTray. Any help is appreciated.
Thanks in advance,
Update:
<ToolBarTray Background="White"> <ToolBar> <Button Width="50" Content="hi"/> <Button Width="100" Content="bye"/> <Button Content="welcome"/> <Button Width="20"/> <Button Content="Welcome"/> <Separator /> <Button ToolBar.OverflowMode="Always" Content="save" /> <Button ToolBar.OverflowMode="Always" Content="open" /> <Button ToolBar.OverflowMode="AsNeeded" Content="bmp" /> </ToolBar> <ToolBar HorizontalAlignment="Right"> <StackPanel Orientation="Horizontal" HorizontalAlignment="Right"> <Button Content="New Hi1"/> <Button Content="New Hi2"/> <Button Content="New Hi3"/> </StackPanel> </ToolBar> </ToolBarTray>
source share