Toolbar Too Big

  • Thread starter Thread starter Gary Brown
  • Start date Start date
G

Gary Brown

Hi,

I cannot get a toolbar less than about 40 pixels high. I want one about 20
pixels high
such as used by Visual Studio. How do I do this?

This is with MDE 7.1.3088, .NET Framework 1.1.4322

Thanks,
Gary
 
Hi,

The .NET Toolbar is automatically scaled to the height of the Buttons it
contains.

So you have to change the ButtonSize Property of your Toolbar (e.g. 20;20).

Regards
Alexander
 
I cannot get a toolbar less than about 40 pixels high. I want one about

Alexander Wehrli said:
So you have to change the ButtonSize Property of your Toolbar (e.g.
20;20).


That helped. I also found a parameter in ImageList, ImageSize, that stayed
at
32x32 when I downsized to 16,16 icons. Shouldn't assume everything is
automatic? :-)

There are some apparent problems in the toolbar imagelist and button
property
editing. I had difficulty getting the images to update. Deselecting the
imagelist
reselecting it, then reselecting the icons in the buttons proterties a few
times
got everything as it should be.
 
Back
Top