Hey devs,
Currently experiencing some weird behavior with wxDataViewListCtrl on Windows. Here's the situation: I have a wxDVLCTRL with two columns: one check and one text column. Previously, I used the wxCOL_WIDTH_DEFAULT size option and everything worked great on the machines I tested this control on.
Recently, I decided to use the wxCOL_WIDTH_AUTOSIZE size option and got less than expected behavior. On smaller screens, the control rendered just fine but on higher resolution screens, it seems the auto size didn't work.
Here's a screen grab of what that looks like on the test machines ( 1366x768 and 1920x1080 resolutions)
As you can tell from the image, it seems the check column got squeezed . Wondering if anyone has any ideas on how to solve this?
Some info:
wxVersion : 3.1.0
Compiler: Visual Studio 2017
Windows: 10
Also, the application is built with the "High DPI Aware" option in it's manifest.
wxDataViewListCtrl: Weird column sizing issues
Re: wxDataViewListCtrl: Weird column sizing issues
Can you reproduce it with a small modification to the "dataview" sample?
Use the source, Luke!
Re: wxDataViewListCtrl: Weird column sizing issues
Let me try and do that, will post back with feedback.doublemax wrote:Can you reproduce it with a small modification to the "dataview" sample?