wxPropertyGrid - Scrollbars block the grid!

BlitzMax Modules Forums/Brucey's Modules/wxPropertyGrid - Scrollbars block the grid!

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Glenn: I believe that's unconnected to the Property Grid itself. The PG's styles are set elsewhere. I tried removing those lines from Brucey's example, and it still works where mine doesn't.

Brucey: well I've revised and fiddled with this code dozens of times, but here's how it is currently, with my attempt to add the sizer as you suggested above. It's not helping though, so if you can see what I've done wrong, that'd be great.

Local Sizer:wxBoxSizer = New wxBoxSizer.Create(wxHORIZONTAL) 
		
PropertyGridPanel = wxPanel.CreatePanel(DevApp.LevelPanel, Null, TVR + ((CW - TVR) / 2) - 160, 80, 310, 500, wxPG_BOLD_MODIFIED | wxPG_SPLITTER_AUTO_CENTER | wxPG_AUTO_SORT | wxPG_SPLITTER_AUTO_CENTER | wxPG_DEFAULT_STYLE) 
PropertyGrid = wxPropertyGrid.CreatePropertyGrid(PropertyGridPanel, wxID_PropertyGrid, 0, 0, 250, 450) 
		PropertyGrid.SetExtraStyle(wxPG_EX_HELP_AS_TOOLTIPS | wxPG_EX_NATIVE_DOUBLE_BUFFERING) 
PropertyGrid.SetFont(DevApp.MainGUIFont) 
		
Sizer.add(PropertyGrid, 1, wxEXPAND | wxALL, 0) 
PropertyGridPanel.SetSizer(Sizer) 
Sizer.SetSizeHints(PropertyGrid)