mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix UI error
This commit is contained in:
parent
8e7261daf6
commit
f5e5fe5780
1 changed files with 2 additions and 7 deletions
|
|
@ -54,11 +54,7 @@ public partial class SettingsPaneHotkey
|
|||
var excard = new SettingsExpander()
|
||||
{
|
||||
Header = metadata.Name,
|
||||
Margin = new Thickness(0, 4, 0, 0),
|
||||
};
|
||||
var hotkeyStackPanel = new StackPanel
|
||||
{
|
||||
Orientation = Orientation.Vertical
|
||||
Margin = new Thickness(0, 4, 0, 0)
|
||||
};
|
||||
|
||||
var sortedHotkeyInfo = hotkeyInfo.OrderBy(h => h.Id).ToList();
|
||||
|
|
@ -96,9 +92,8 @@ public partial class SettingsPaneHotkey
|
|||
};
|
||||
card.Content = hotkeyDisplay;
|
||||
}
|
||||
hotkeyStackPanel.Children.Add(card);
|
||||
excard.Items.Add(card);
|
||||
}
|
||||
excard.Content = hotkeyStackPanel;
|
||||
PluginHotkeySettings.Children.Add(excard);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue