Give controls more width to avoid edge being clipped
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -704,6 +704,9 @@ static pascal OSStatus ControlToolbarItemHandler( EventHandlerCallRef inCallRef,
|
|||||||
sz = wxSize(0,0) ;
|
sz = wxSize(0,0) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Extra width to avoid edge of combobox being cut off
|
||||||
|
sz.x += 3;
|
||||||
|
|
||||||
HISize min, max;
|
HISize min, max;
|
||||||
min.width = max.width = sz.x ;
|
min.width = max.width = sz.x ;
|
||||||
min.height = max.height = sz.y ;
|
min.height = max.height = sz.y ;
|
||||||
|
Reference in New Issue
Block a user