|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Tool strip sizeThe tool strip control is set to flow layout, no autosize and to anchor top, left. When the form is maximized all the icons and text fit in one line across the screen. The menu strip stays with the default height causing there to be a space from left to right under all icons. No matter what I try such as autosize on, different layout, different anchoring it always appears. My question is how to we get the tool strip to reduce its height if all icons fit on one line across the screen? Thanks, Adam Adam,
As some more controls has the tool strip control its docking set. In this case it is Top. There is nothing magic in those controls. What you describe is one of the behaviours of docking. I hope this helps, Cor Show quoteHide quote "Adam Honek" <AdamHo***@Webmaster2001.freeserve.co.uk> schreef in bericht news:eN9ktHcXGHA.3560@TK2MSFTNGP04.phx.gbl... > Hi all, > > The tool strip control is set to flow layout, no autosize and to anchor > top, left. > > When the form is maximized all the icons and text fit in one line across > the screen. > > The menu strip stays with the default height causing there to be a space > from left to right under all icons. > > No matter what I try such as autosize on, different layout, different > anchoring it always appears. > > My question is how to we get the tool strip to reduce its height if all > icons fit on one line across the screen? > > Thanks, > Adam > The problem is when it sizes down to only the size necessary it leaves a gap
below it and the panel and split panel control. I need to close this gap to the panels top position is the toolbars top + height value. Adam Show quoteHide quote "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:el4cYhfXGHA.3448@TK2MSFTNGP03.phx.gbl... > Adam, > > As some more controls has the tool strip control its docking set. In this > case it is Top. There is nothing magic in those controls. > > What you describe is one of the behaviours of docking. > > I hope this helps, > > Cor > > "Adam Honek" <AdamHo***@Webmaster2001.freeserve.co.uk> schreef in bericht > news:eN9ktHcXGHA.3560@TK2MSFTNGP04.phx.gbl... >> Hi all, >> >> The tool strip control is set to flow layout, no autosize and to anchor >> top, left. >> >> When the form is maximized all the icons and text fit in one line across >> the screen. >> >> The menu strip stays with the default height causing there to be a space >> from left to right under all icons. >> >> No matter what I try such as autosize on, different layout, different >> anchoring it always appears. >> >> My question is how to we get the tool strip to reduce its height if all >> icons fit on one line across the screen? >> >> Thanks, >> Adam >> > > "Adam Honek" <AdamHo***@Webmaster2001.freeserve.co.uk> wrote in message Is the space below the strip the size of an icon?news:eN9ktHcXGHA.3560@TK2MSFTNGP04.phx.gbl... > The menu strip stays with the default height causing there to be a space > from left to right under all icons. Below...
I ended up doing my own resize code for the controls under the menu strip. This way them as well as the menu strip scale properly and the latter doesn't have a line space beneath all the buttons + icons (PNG's). The panel and split container made is messy and why scale two controls for each control if you only need to do one right? Adam "Homer J Simpson" <nob***@nowhere.com> wrote in message news:AJi%f.72465$%H.46607@clgrps13...Show quoteHide quote > > "Adam Honek" <AdamHo***@Webmaster2001.freeserve.co.uk> wrote in message > news:eN9ktHcXGHA.3560@TK2MSFTNGP04.phx.gbl... > >> The menu strip stays with the default height causing there to be a space >> from left to right under all icons. > > Is the space below the strip the size of an icon? > > >
Check if TIF file in use
Request for permission of the type 'System.Security.Permissions.RegistryPermission...' failed ASP.NET page, hiding certain controls when printing Tree view node selection How to draw graphics on a bitmap ? Shared Methods In A Class ListView FocusedItem file system watcher prevents PC shutdown form refresh? repaint? doevents? Ending the appliation reliably |
|||||||||||||||||||||||