Make wxDialog scrollable?

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Wanderer82
Ultimate wxWidgets Guru
Ultimate wxWidgets Guru
Posts: 670
Joined: Tue Jul 26, 2016 2:00 pm

Re: Make wxDialog scrollable?

Post by Wanderer82 »

Hm, think I got another solution, although it doesn't make me a 100% happy. I could just always show only the vertical scrollbar even if I don't need it. This way I don't have to use two different designs. But I always see the scrollbar.
User avatar
doublemax
Moderator
Moderator
Posts: 19114
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Make wxDialog scrollable?

Post by doublemax »

Unfortunately there is no nice solution for this. Usually you would use a column-based list control for this, but seeing how much you've already done, i understand that you don't want to rewrite everything.
Use the source, Luke!
Wanderer82
Ultimate wxWidgets Guru
Ultimate wxWidgets Guru
Posts: 670
Joined: Tue Jul 26, 2016 2:00 pm

Re: Make wxDialog scrollable?

Post by Wanderer82 »

Well I did it using the GUI from Code::Blocks, so no big deal doing it again. But I'm getting comfortable with my solution to always show the scollbars ;-)

With these column-based list controls... can I put blanks there to make space? And can I also draw the line across the entire list even though I have columns?
User avatar
doublemax
Moderator
Moderator
Posts: 19114
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Make wxDialog scrollable?

Post by doublemax »

With "column-based list controls" i mean controls like wxListCtrl, wxDataViewCtrl or wxGrid. Although in your case only wxGrid would be suitable. This would require a major rewrite of your code.
Use the source, Luke!
Post Reply