mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
Fix colors in KBM UI and add support for light/dark theme (#2256)
* Fixed colors for Edit Keyboard * Fixed colors for Edit Shortcuts
This commit is contained in:
@@ -31,7 +31,6 @@ public:
|
||||
|
||||
ShortcutControl(const size_t rowIndex, const size_t colIndex)
|
||||
{
|
||||
shortcutDropDownStackPanel.RequestedTheme(ElementTheme::Light);
|
||||
shortcutDropDownStackPanel.Spacing(10);
|
||||
shortcutDropDownStackPanel.Orientation(Windows::UI::Xaml::Controls::Orientation::Horizontal);
|
||||
KeyDropDownControl::AddDropDown(shortcutDropDownStackPanel, rowIndex, colIndex, shortcutRemapBuffer, keyDropDownControlObjects);
|
||||
@@ -43,7 +42,6 @@ public:
|
||||
createDetectShortcutWindow(sender, sender.as<Button>().XamlRoot(), shortcutRemapBuffer, *keyboardManagerState, rowIndex, colIndex);
|
||||
});
|
||||
|
||||
shortcutControlLayout.Background(Windows::UI::Xaml::Media::SolidColorBrush{ Windows::UI::Colors::LightGray() });
|
||||
shortcutControlLayout.Margin({ 0, 0, 0, 10 });
|
||||
shortcutControlLayout.Spacing(10);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user