wxWidgets / wxWidgets

Cross-Platform C++ GUI Library
https://www.wxwidgets.org/
5.86k stars 1.72k forks source link

Extra pad on window size (all wx versions) #19421

Closed wxtrac closed 2 years ago

wxtrac commented 23 years ago

Issue migrated from trac ticket # 56

component: GUI-generic | priority: normal

2000-10-10 06:51:32: marvin826 created the issue


window.cpp -- extra size of 14 and 7 added to window size during DoBestSize call -- this makes it impossible to perform precision window placement (and often causes some very close windows to be drawn over!)

Please remove the pad!

wxtrac commented 23 years ago

2000-10-20 17:31:01: @vadz commented


ok, I removed the padding from DoGetBestSize() and moved it to Fit() (2.3 branch only, won't touch to the 2.2 one)