Search found 5 matches

by jillyjill
Tue Mar 17, 2020 4:24 am
Forum: Platform Related Issues
Topic: Scrollbar in ListCtrl gets hidden when dynamically adding and deleting items
Replies: 7
Views: 412

Re: Scrollbar in ListCtrl gets hidden when dynamically adding and deleting items

I'm also not a Linux expert. Was trying a UI application in Linux. Thought of using wxWidgets.

Unity was the default window manager I got in Ubuntu.

Anyways it is found that the issue is not with the code.
Thanks for your help.
by jillyjill
Sat Mar 14, 2020 5:59 pm
Forum: Platform Related Issues
Topic: Scrollbar in ListCtrl gets hidden when dynamically adding and deleting items
Replies: 7
Views: 412

Re: Scrollbar in ListCtrl gets hidden when dynamically adding and deleting items

There was one issue though: I think the parent for switchPanel was wrong. (Was "this", i think it should have been "m_mainPanel"). Also detaching items from sizers and leaving the windows "dangling" is a little ugly. I think there's no need to do that anyway in this case, just Hiding the unused pan...
by jillyjill
Thu Mar 12, 2020 4:41 am
Forum: Platform Related Issues
Topic: Scrollbar in ListCtrl gets hidden when dynamically adding and deleting items
Replies: 7
Views: 412

Re: Scrollbar in ListCtrl gets hidden when dynamically adding and deleting items

Are you using sizers?
Yes.
Does the display fix itself when you resize the window manually?
The listctrl is expanded to fill the view. But scrollbar doesn't appear.

I tried calling Layout(), but it didn't work.
by jillyjill
Wed Mar 11, 2020 12:49 pm
Forum: Platform Related Issues
Topic: Scrollbar in ListCtrl gets hidden when dynamically adding and deleting items
Replies: 7
Views: 412

Scrollbar in ListCtrl gets hidden when dynamically adding and deleting items

I'm trying to use wxListCtrl to dynamically add and delete items. Some times scrollbar from wxListCtrl disappears. The listctrl is on one panel. There is one more panel with a static label. Only one panel will be shown at a time. When the panel is switched and come back (some times this has to be do...