Kaydet (Commit) a57309fe authored tarafından Caolán McNamara's avatar Caolán McNamara

gtk3: honour the control region height if it is larger

Change-Id: I99a5a597dbc14521b27f9149411199d23b907c1e
üst 062c3afd
......@@ -1084,6 +1084,8 @@ bool GtkSalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPar
gint nWidgetHeight = nTextHeight + padding.top + padding.bottom + border.top + border.bottom;
nWidgetHeight = std::max<gint>(nWidgetHeight, rControlRegion.GetHeight());
aEditRect = Rectangle(rControlRegion.TopLeft(), Size(rControlRegion.GetWidth(), nWidgetHeight));
gtk_style_context_restore(mpEntryStyle);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment