fixed ugly unthemed border around connection search box

This commit is contained in:
David Sparer
2019-04-23 14:46:09 -05:00
parent 0eb6185b6c
commit c6a16823b0

View File

@@ -120,6 +120,8 @@ namespace mRemoteNG.UI.Window
olvConnections.UnfocusedSelectedForeColor =
activeTheme.ExtendedPalette.getColor("Treeview_SelectedItem_Inactive_Foreground");
//There is a border around txtSearch that dont theme well
searchBoxLayoutPanel.BackColor = activeTheme.ExtendedPalette.getColor("Dialog_Background");
searchBoxLayoutPanel.ForeColor = activeTheme.ExtendedPalette.getColor("Dialog_Foreground");
txtSearch.BackColor = activeTheme.ExtendedPalette.getColor("TextBox_Background");
txtSearch.ForeColor = activeTheme.ExtendedPalette.getColor("TextBox_Foreground");
//Picturebox needs to be manually themed