Toolbar Too Big

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
 
G

Guest

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
 
G

Gary Brown

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top