![]() |
Width of the command bar |
Post Reply ![]() |
Author | |
Daedalus ![]() Newbie ![]() Joined: 28 February 2008 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() Posted: 28 February 2008 at 3:06am |
Hello,
I'm using the CommandBar set of controls to make a menu, and I'm wanting to have the toolbar section be the entire width of the form. I'm using the Office 2007 theme, for the blue backgrounds and gradients. I tried adding a label control to the end, and resizing that to the width of the form, but if the user resizes too quickly, it splits the commandbar into two lines for a moment as the resize events catch up. Apart from that it's the look I want. Is there a setting to autosize a control? I based my work off the Icon Sample in the Commandbars samples (for C#), and all of those samples have the commandbar just take up the size of the icons. If anyone has any further ideas, please let me know! |
|
![]() |
|
younicke ![]() Senior Member ![]() ![]() Joined: 11 March 2005 Status: Offline Points: 107 |
![]() ![]() ![]() ![]() ![]() |
you can use Toolbar.EnableDocking xtpFlagStretched
|
|
![]() |
|
Daedalus ![]() Newbie ![]() Joined: 28 February 2008 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
Awesome! That's just what I needed! Thanks!
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |