Make wxDialog scrollable?
-
- Ultimate wxWidgets Guru
- Posts: 670
- Joined: Tue Jul 26, 2016 2:00 pm
Re: Make wxDialog scrollable?
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.
Re: Make wxDialog scrollable?
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!
-
- Ultimate wxWidgets Guru
- Posts: 670
- Joined: Tue Jul 26, 2016 2:00 pm
Re: Make wxDialog scrollable?
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?
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?
Re: Make wxDialog scrollable?
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!