They have been using Window Foreground+Background so far which make them unreadable
on systms with dark themes. This change makes them behave.
items = new ObjectCollection (this);
DropDownStyle = ComboBoxStyle.DropDown;
item_height = FontHeight + 2;
- background_color = ThemeEngine.Current.ColorWindow;
+ background_color = ThemeEngine.Current.ColorControl;
border_style = BorderStyle.None;
drop_down_height = default_drop_down_height;
requested_height = bounds.Height;
InternalBorderStyle = BorderStyle.Fixed3D;
- BackColor = ThemeEngine.Current.ColorWindow;
+ BackColor = ThemeEngine.Current.ColorControl;
/* Vertical scrollbar */
vscrollbar = new ImplicitVScrollBar ();
this.RightToLeftChanged += new EventHandler (TextBox_RightToLeftChanged);
MouseWheel += new MouseEventHandler (TextBox_MouseWheel);
- BackColor = SystemColors.Window;
- ForeColor = SystemColors.WindowText;
+ BackColor = ThemeEngine.Current.ColorControl;
+ ForeColor = ThemeEngine.Current.ColorControlText;
backcolor_set = false;
SetStyle (ControlStyles.StandardClick | ControlStyles.StandardDoubleClick, false);