mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
- Add Card, ExCard, CardGroup custom controls for settings pages - Update GeneralSettingsViewModel with new properties: - Startup: UseLogonTaskForStartup, HideOnStartup - Behavior: HideNotifyIcon, IgnoreHotkeysOnFullscreen, AlwaysPreview - Updates: AutoUpdates, AutoUpdatePlugins - Search: SearchPrecision, LastQueryMode, SearchDelay - Home: ShowHomePage, ShowHistoryResults, MaxHistoryResults - Misc: AutoRestart, ShowWarning, AlwaysStartEn, ShouldUsePinyin - Rewrite GeneralSettingsPage.axaml using SettingsExpander pattern - Update migration checklist to ~35-40% progress
30 lines
1.4 KiB
XML
30 lines
1.4 KiB
XML
<UserControl xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:controls="using:Flow.Launcher.Avalonia.Views.Controls"
|
|
x:Class="Flow.Launcher.Avalonia.Views.Controls.CardGroup"
|
|
x:DataType="controls:CardGroup"
|
|
mc:Ignorable="d">
|
|
|
|
<UserControl.Styles>
|
|
<Style Selector="controls|CardGroup">
|
|
<Setter Property="Template">
|
|
<ControlTemplate TargetType="controls:CardGroup">
|
|
<Border Background="{DynamicResource CardBackgroundFillColorDefaultBrush}"
|
|
BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}"
|
|
BorderThickness="1"
|
|
CornerRadius="5">
|
|
<ItemsPresenter ItemsPanel="{TemplateBinding ItemsPanel}" />
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter>
|
|
<Setter Property="ItemsPanel">
|
|
<ItemsPanelTemplate>
|
|
<StackPanel Orientation="Vertical" />
|
|
</ItemsPanelTemplate>
|
|
</Setter>
|
|
</Style>
|
|
</UserControl.Styles>
|
|
|
|
</UserControl>
|