Fix appearance of GTK3 single-line wxTextCtrl with non-default background
...and more text than will fit. See #18663
This commit is contained in:
@@ -5535,6 +5535,13 @@ void wxWindowGTK::GTKApplyWidgetStyle(bool forceStyle)
|
||||
g_string_append_printf(css, "%s{color:%s;background:%s}", s,
|
||||
wxGtkString(gdk_rgba_to_string(fg_sel)).c_str(),
|
||||
wxGtkString(gdk_rgba_to_string(bg_sel)).c_str());
|
||||
|
||||
if (isBg)
|
||||
{
|
||||
// make "undershoot" node background transparent,
|
||||
// keeps expected look of GtkEntry with default theme
|
||||
g_string_append(css, "* undershoot{background:transparent}");
|
||||
}
|
||||
}
|
||||
|
||||
if (m_styleProvider == NULL && (isFg || isBg || isFont))
|
||||
|
Reference in New Issue
Block a user