I created a vertical sytle wxToolbar(wxTB_VERTICAL | wxTB_FLAT | wxTB_NODIVIDER | wxTB_HORZ_LAYOUT | wxTB_TEXT).
The upper toolbutton is a normal button. The lower toolbutton is a button with dropdown menu. Both of buttons have the same icon(16x16).
As you see, they are not left-alignment.
How could be this?
BTW: this toolbar is added into a ribbon panel. I'm using wxWidgets 3.1 and under Windows 10.
the link of picture: https://screenshot.net/zh/9qg41ap
alignment problem of vertical style toolbar
Re: alignment problem of vertical style toolbar
Hi,
Is it reproducible in the toolbar sample?
Thank you.
Is it reproducible in the toolbar sample?
Thank you.
Re: alignment problem of vertical style toolbar
the codes are not from wxWidgets toolbar sample.ONEEYEMAN wrote:Hi,
Is it reproducible in the toolbar sample?
Thank you.
this toolbar is just as an embeded controls into a ribbon panel.
Re: alignment problem of vertical style toolbar
Hi,
I understand that. But that's not what I'm asking.
Can the problem be seen in the toolbar sample?
Also, this is kind of a weird design - ribbons are a successors for the toolbars. Why do you need to embed one into the ribbon?
Thank you.
I understand that. But that's not what I'm asking.
Can the problem be seen in the toolbar sample?
Also, this is kind of a weird design - ribbons are a successors for the toolbars. Why do you need to embed one into the ribbon?
Thank you.