Re: wxListbook problem, not sizing correctly on Windows.
Tony Kennedy <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
Coming back to this, I think the list sizes itself based on the icon size in the attached image list. If I make the icons larger, things improve quite a bit. I'll see if I can modify the notebook sample. On Tuesday, 15 February 2022 at 19:20:10 UTC Julian Novak wrote: > I had the same problem, an unwanted horizontal scrollbar, on Windows XP > and Windows 7 classic theme (!wxUxThemeIsActive()), but never looked into > it in detail. > > 14.02.2022 15:44:14 Tony Kennedy <[email protected]>: > > > I've got a problem where the listbook is not sizing correctly on Windows. > > > > I've attached a couple of images, the box that displays the page list > just just not wide enough (or tall enough if the font scaling is changed). > > > > Is there an easy way to fix this? I've tried stepping through the code > but could not figure out what to change. > > > > Thanks in advance, > > > > Tony. [cid:86d1fb4e-d7d0-4ee3-bda9-1d89996219d7][wxListbook_02.jpg] > [cid:967f6677-0d40-4703-aa6b-3474cc355ad5][wxListbook_01.jpg] > > -- > > Please read https://www.wxwidgets.org/support/mlhowto.htm before > posting. > > --- > > You received this message because you are subscribed to the Google > Groups "wx-users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/wx-users/1761a3cf-a702-4d13-962e-63bc79b2f62bn%40googlegroups.com[https://groups.google.com/d/msgid/wx-users/1761a3cf-a702-4d13-962e-63bc79b2f62bn%40googlegroups.com?utm_medium=email&utm_source=footer] > <https://groups.google.com/d/msgid/wx-users/1761a3cf-a702-4d13-962e-63bc79b2f62bn%40googlegroups.com%5Bhttps://groups.google.com/d/msgid/wx-users/1761a3cf-a702-4d13-962e-63bc79b2f62bn%40googlegroups.com?utm_medium=email&utm_source=footer]> > . > -- Please read https://www.wxwidgets.org/support/mlhowto.htm before posting. --- You received this message because you are subscribed to the Google Groups "wx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/637e3d72-9f36-48fa-aee9-e0a57860c963n%40googlegroups.com.