Toolstrip resize, must be somewhere...

Hi,
Super novice here, been a VB Studio user for 5 hours now. I have a toolstrip background graphic that is a little deeper than the toolstrip default height, so the bottom of the graphic is prevented from showing. There must be a way to increase the height of the toolstrip, but I cannot see anything in the properties options.

I can use a panel at the top of my interface instead, to hold control buttons, and can adjust its height freely, but then I can't see how to set the panel to fill the window width. Docking the panel to top causes it to resize with maximise window, but then I lose control of the panel height. Any tips would be very welcome.



Answer this question

Toolstrip resize, must be somewhere...

  • mcssnt

    Thanks ReneeC, I will give it a try and let you know if it solves the issue.
  • Maciej Swierzewski

    I was not successful in implementing that snippet of code, due to my feeble grasp of VB C++ , but did discover that by docking a panel to the top of the form window and then setting AutoSize to false, I was able to increase the panel depth to my custom value, and so reveal the background image fully. Hurray.
  • DJeX

     

    Does this help

    ToolBar.ImageScalingSize = New System.Drawing.Size(ScreenManagementPacket.cLargeIconSize, ScreenManagementPacket.cLargeIconSize)

    The toolbar object is really a toolstrip

     



  • Toolstrip resize, must be somewhere...