Don't add extra size to the height, it makes the combo way too big.
(Patch from Ricardo Pedroso.) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -507,7 +507,7 @@ void wxgtk_combo_size_request_callback(GtkWidget *widget,
|
||||
(gcombo->button, &entry_req );
|
||||
|
||||
requisition->width = w - entry_req.width;
|
||||
requisition->height = entry_req.height+4; // TODO: why +4?
|
||||
requisition->height = entry_req.height;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user