From: Otto W. <ott...@or...> - 2005-11-23 17:14:04
|
Carl Godkin wrote: >When I create the control and populate it with more items than fit vertically, >I don't get a scrollbar right away until I click on one of the items. This >happens both on Windows and Linux so I presume it's intentional. However, >I'd like to always show the vertical scrollbar so that the user knows there are >more items below. > > > I've seen this as well lately and think it's something wrong within wxWidgets but I'm not sure. I haven't seen it in any of my old apps, only in the new TorMgr I write for the Tor GUI contest. So it might be a problem of 2.6.2, again I'm not sure. >Is there some way I can force this? > > > Either try to use the vertical scroll bar style for always showing it or send a size event to it, maybe a simple SetSize outside the constructor might be sufficiant. >By the way, I am using the wxTR_HIDE_ROOT style in my interface. I mention >this since there used to be some bugs related to this style at one time. > > > Ditto I, so far all my trees use this style. O. Wyss -- Application guidelines: http://freshmeat.net/projects/wyoguide/ Cross-platform Editor: http://freshmeat.net/projects/wyoeditor/ Cross-platform Filemanager http://freshmeat.net/projects/wyofiler/ |