Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
Ribbon: Control Container Height.
posted

 

I'm using three Control Containers to display one combo box and two date pickers. I want them stacked.

I'm having two problems

  • The height of each control is messed up but only during run time. Each grows by a couple pixels and so they overlap.
  • I'd like the controls to align. Right now I have them all set to a width of 200. But it takes the label into consideration and so I get a staggered look. I tried working on this issue months ago and thought I stumbled onto something. I can't remember what it was. Something to do with setting the Layout Alignment and then making each control a different width.

I also tried creating a user control but it does the same thing somehow. Plus another annoyance of discoloring the background of the control a different shade of blue.

I'm using 11.1 Win CLR2.