wxSizer not adhering to SetDimention

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Sluggo
Earned a small fee
Earned a small fee
Posts: 19
Joined: Sat Apr 07, 2018 12:11 am

Re: wxSizer not adhering to SetDimention

Post by Sluggo »

Sure gimme a few
User avatar
doublemax
Moderator
Moderator
Posts: 19163
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxSizer not adhering to SetDimention

Post by doublemax »

it seems changing DoGestBestSize changes the size of the image...
Yes, unfortunately i don't see the logic where and how that happens.
and the sizer shrinks to fit that, but what I am looking for is keeping the image size the same while shrinking the sizer down.
I don't understand this. I really need a screenshot now.
Use the source, Luke!