Prev Previous Post   Next Post Next
Old 04-22-2013, 09:42 AM   #1
Human being with feelings
DarkStar's Avatar
Join Date: May 2006
Location: Surrey, UK
Posts: 18,059
Default Another toolbar oddity?

I wanted to put the Undo and Redo button on my MIDI toolbar (in my own, unpublished, theme).

The .png files are 90x30 pixels; each button is actually 28x28 with a boundary of transparent pixels. They look correct in the Main toolbar. I have both "Don't scale" preferences set, so they are always the same size.

When I use them in the MIDI Editor toolbar, the image is rendered as 29 pixels high - have a look at the lower Undo button in the magnified screenshot. To get them to be displayed correctly I had to change them to be 92x32 and add pink corners - as I have done for the lower Redo button.

BUT, I did not have to do this for the other buttons, e.g. the Snap to Grid button which is 90x30, no pink, in both toolbars.

Has anybody got any idea what I've got wrong?

DarkStar ... interesting, if true. . . . Inspired by ...
DarkStar is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 11:27 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.