Skip to content

Commit f5e5fe5

Browse files
committed
Fix UI error
1 parent 8e7261d commit f5e5fe5

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Flow.Launcher/SettingPages/Views/SettingsPaneHotkey.xaml.cs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,7 @@ private void PluginHotkeySettings_Loaded(object sender, RoutedEventArgs e)
5454
var excard = new SettingsExpander()
5555
{
5656
Header = metadata.Name,
57-
Margin = new Thickness(0, 4, 0, 0),
58-
};
59-
var hotkeyStackPanel = new StackPanel
60-
{
61-
Orientation = Orientation.Vertical
57+
Margin = new Thickness(0, 4, 0, 0)
6258
};
6359

6460
var sortedHotkeyInfo = hotkeyInfo.OrderBy(h => h.Id).ToList();
@@ -96,9 +92,8 @@ private void PluginHotkeySettings_Loaded(object sender, RoutedEventArgs e)
9692
};
9793
card.Content = hotkeyDisplay;
9894
}
99-
hotkeyStackPanel.Children.Add(card);
95+
excard.Items.Add(card);
10096
}
101-
excard.Content = hotkeyStackPanel;
10297
PluginHotkeySettings.Children.Add(excard);
10398
}
10499
}

0 commit comments

Comments
 (0)