mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
UI - Fixed various rename dialogs cancelling instead of submitting when pressing enter
Submission wizard - Allow window to scroll when setting up layer adaption hints Local web API - Added status endpoint to determine whether webserver is running
This commit is contained in:
1 parent
d96581f11c
commit
8d5640aba3
11 files changed
+79
-51
No files matched your search
+41
-32
@@ -31,37 +31,46 @@
|
||||
Learn more about adaption hints
|
||||
</controls:HyperlinkButton>
|
||||
|
||||
<ItemsRepeater ItemsSource="{CompiledBinding Layers}" Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Margin="0 10 0 0">
|
||||
<ItemsRepeater.ItemTemplate>
|
||||
<DataTemplate DataType="profile:ProfileAdaptionHintsLayerViewModel">
|
||||
<StackPanel>
|
||||
<Border Classes="card-separator" />
|
||||
<Grid ColumnDefinitions="Auto,*,Auto" RowDefinitions="*,*">
|
||||
<avalonia:MaterialIcon Grid.Column="0"
|
||||
Grid.Row="0"
|
||||
Grid.RowSpan="2"
|
||||
Width="25"
|
||||
Height="25"
|
||||
Margin="5 0 10 0"
|
||||
Kind="{CompiledBinding Layer.LayerBrush.Descriptor.Icon, FallbackValue=QuestionMark}" />
|
||||
<TextBlock Grid.Column="1" Grid.Row="0" Text="{CompiledBinding Layer.Name}" />
|
||||
<TextBlock Grid.Column="1"
|
||||
Grid.Row="1"
|
||||
VerticalAlignment="Top"
|
||||
Classes="subtitle"
|
||||
Classes.danger="{CompiledBinding !AdaptionHintCount}"
|
||||
Text="{CompiledBinding AdaptionHintText}">
|
||||
</TextBlock>
|
||||
<Button Grid.Column="2"
|
||||
Grid.Row="0"
|
||||
Grid.RowSpan="2"
|
||||
Command="{Binding EditAdaptionHints}">
|
||||
Edit hints
|
||||
</Button>
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</DataTemplate>
|
||||
</ItemsRepeater.ItemTemplate>
|
||||
</ItemsRepeater>
|
||||
<ScrollViewer Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="2"
|
||||
Margin="0 10 0 0"
|
||||
Classes="with-padding"
|
||||
HorizontalScrollBarVisibility="Disabled"
|
||||
VerticalScrollBarVisibility="Auto"
|
||||
VerticalAlignment="Top">
|
||||
<ItemsRepeater ItemsSource="{CompiledBinding Layers}">
|
||||
<ItemsRepeater.ItemTemplate>
|
||||
<DataTemplate DataType="profile:ProfileAdaptionHintsLayerViewModel">
|
||||
<StackPanel>
|
||||
<Border Classes="card-separator" />
|
||||
<Grid ColumnDefinitions="Auto,*,Auto" RowDefinitions="*,*">
|
||||
<avalonia:MaterialIcon Grid.Column="0"
|
||||
Grid.Row="0"
|
||||
Grid.RowSpan="2"
|
||||
Width="25"
|
||||
Height="25"
|
||||
Margin="5 0 10 0"
|
||||
Kind="{CompiledBinding Layer.LayerBrush.Descriptor.Icon, FallbackValue=QuestionMark}" />
|
||||
<TextBlock Grid.Column="1" Grid.Row="0" Text="{CompiledBinding Layer.Name}" />
|
||||
<TextBlock Grid.Column="1"
|
||||
Grid.Row="1"
|
||||
VerticalAlignment="Top"
|
||||
Classes="subtitle"
|
||||
Classes.danger="{CompiledBinding !AdaptionHintCount}"
|
||||
Text="{CompiledBinding AdaptionHintText}">
|
||||
</TextBlock>
|
||||
<Button Grid.Column="2"
|
||||
Grid.Row="0"
|
||||
Grid.RowSpan="2"
|
||||
Command="{Binding EditAdaptionHints}">
|
||||
Edit hints
|
||||
</Button>
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</DataTemplate>
|
||||
</ItemsRepeater.ItemTemplate>
|
||||
</ItemsRepeater>
|
||||
</ScrollViewer>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
Reference in new issue
Block a user