Uncle_B

Uncle_B

  • NA
  • 1
  • 0

Toolbar resizes to height of 7 when adding buttons

May 18 2005 10:45 AM
Hey, I have a program where toolbarbuttons are added to an empty toolbar in the code(constructor). The problem is that when the my programs runs the toolbar height is change to 7(dont know why it changes to that number) and then back to the normal height, having a panel where the dockstyle is set to fill this results in a ugly effect. The panel jumps up and then down again. Anyone who can help me on this matter. When i add buttons after the program is starter(not in the constructor or the form load) this resize doesnt occur. TIA, B