User forums > Nightly builds

The 03 august 2006 build is out.

<< < (2/2)

sethjackson:

--- Quote from: Xaviou on August 04, 2006, 12:01:25 pm ---
--- Quote ---Regressions/Confirmed/Annoying/Common bugs:
menu items with icon not correctly aligned (since wx263)

--- End quote ---

I'm surprised that no-one has already founded the solution : just add a 1 pixel height all transparent bitmap to all menu entries that don't have an icon. I've tried it : it works fine.

--- Code: ---/* XPM */
static char *emptyicon_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 1 1 1",
"  c None",
/* pixels */
"                ",
};
--- End code ---

--- End quote ---

I wonder why you have to do that for it to work corrrectly though?

Xaviou:

--- Quote ---I wonder why you have to do that for it to work corrrectly though?

--- End quote ---

It is not for it to work correctly. Just to have correctly aligned menus.
And it is not only for C::B, but for all wxWidgets applications based on version 2.6.3

sethjackson:

--- Quote from: Xaviou on August 05, 2006, 12:28:30 pm ---
--- Quote ---I wonder why you have to do that for it to work corrrectly though?

--- End quote ---

It is not for it to work correctly. Just to have correctly aligned menus.
And it is not only for C::B, but for all wxWidgets applications based on version 2.6.3

--- End quote ---

Well maybe I should rephrase the question. I wonder why you have to do this to have correctly aligned menus?
I wonder where the bug is in wx.......

Xaviou:
Hum, sorry for my missunderstood  :? (english is not my native language)

It seems to be a wx2.6.3 bug. And it appears only on Ms Windows version.
Linux version does correclty align menuitems with or withou bitmaps

sethjackson:

--- Quote from: Xaviou on August 05, 2006, 07:36:45 pm ---Hum, sorry for my missunderstood  :? (english is not my native language)

It seems to be a wx2.6.3 bug. And it appears only on Ms Windows version.
Linux version does correclty align menuitems with or withou bitmaps

--- End quote ---

Hmm ok. Maybe I can find out why.......

Navigation

[0] Message Index

[*] Previous page

Go to full version