On Sat, 16 Feb 2019 23:17:58 +0800 asmwarrior wrote:
a> Hi, first, please look at the screen shot as attachment(which is
a> CodeBlocks IDE's build against wx3.1.2). You see the rows of toolbar
a> have different height. The first toolbar row's height is much larger
a> than the second row, this does not happens under wx2.8, where both two
a> rows have the same height.
Hello and sorry for the delay with the reply, but I needed some time to
try to fix this. I think I've perhaps done this now, so it would be great
if you could please test the changes of
https://github.com/wxWidgets/wxWidgets/pull/1241
and let me know how does it affect C::B. I'm not sure if this really fixes
the problem you're describing (because I couldn't find any simple way to
test it), but in any case any additional fixes would need to be done on top
of these changes.
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+u...@googlegroups.com
or visit http://groups.google.com/group/wx-users
On Sun, 31 Mar 2019 23:20:54 +0800 asmwarrior wrote: a> > Yes indeed and I think this also explains the first issue: I've wrongly a> > used the best size of the control when determining the toolbar best size a> > instead of its current size, so it ignored the size actually specified when a> > adding the control to the toolbar. Could you please check if a> > b0ad9ccffdf3a7f289c7526537e94cf1625e6a7f helps? a> I did a test, and this commit did fix the wrong space issue in toolbars. Thanks for testing, but what about the other issue, does it still remain?
On Sun, 31 Mar 2019 23:37:37 +0800 asmwarrior wrote: a> I think now the toolbar's height are calculated correctly. (I mean it a> use the max height of all embedding controls) Thanks for confirming this!


On Wed, 3 Apr 2019 13:04:47 +0800 asmwarrior wrote: a> Oh, I see the bugs are not fully fixed. a> I think their are some other issue here in toolbar, see the image shot a> below, this is the C::B I built against the latest wx's github master a> branch. a> a> I'm still see vertical spaces there. Is this even after decreasing the height of wxChoice?

a> Also, this can be reproduced by adding more buttons in my toolbar demo a> code, see the image shot below: a> a> It looks like the space are accumulated by adding more buttons. Would it be possible for you to make a patch to the toolbar sample reproducing this?


Asmwarrior