Command panel UI improvements
This commit is contained in:
@@ -301,10 +301,9 @@
|
||||
Value="0" />
|
||||
</ia:DataTriggerBehavior>
|
||||
</i:Interaction.Behaviors>
|
||||
<Grid ColumnDefinitions="Auto,10">
|
||||
<ItemsControl
|
||||
ItemsSource="{Binding AppState.TimelineViewModel.ParallelCommandsGroups.Collection}"
|
||||
VerticalAlignment="Top"
|
||||
VerticalAlignment="Stretch"
|
||||
x:Name="CommandGroups">
|
||||
<ItemsControl.ItemsPanel>
|
||||
<ItemsPanelTemplate>
|
||||
@@ -313,18 +312,19 @@
|
||||
</ItemsControl.ItemsPanel>
|
||||
<ItemsControl.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<Border
|
||||
Background="{DynamicResource ContainerBackgroundColor}"
|
||||
CornerRadius="10"
|
||||
Height="70"
|
||||
Margin="0,0,10,0"
|
||||
Padding="5"
|
||||
Width="300">
|
||||
<Grid ColumnDefinitions="300,10" VerticalAlignment="Stretch">
|
||||
<ScrollViewer>
|
||||
<ItemsControl ItemsSource="{Binding Commands.Collection}">
|
||||
<ItemsControl.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<Border BorderThickness="1" Classes.SelectedTimelineCommand="{Binding IsSelected}">
|
||||
<Border
|
||||
Background="{DynamicResource ContainerBackgroundColor}"
|
||||
BorderThickness="1"
|
||||
Classes.SelectedTimelineCommand="{Binding IsSelected}"
|
||||
CornerRadius="10"
|
||||
Margin="0,0,10,0"
|
||||
Padding="5"
|
||||
VerticalAlignment="Top">
|
||||
<Grid ColumnDefinitions="*, *" RowDefinitions="Auto, Auto">
|
||||
<TextBlock Grid.ColumnSpan="2" Text="{Binding DisplayLabel^}" />
|
||||
|
||||
@@ -358,10 +358,6 @@
|
||||
</ItemsControl.ItemTemplate>
|
||||
</ItemsControl>
|
||||
</ScrollViewer>
|
||||
</Border>
|
||||
</DataTemplate>
|
||||
</ItemsControl.ItemTemplate>
|
||||
</ItemsControl>
|
||||
|
||||
<Rectangle
|
||||
Fill="{DynamicResource ContentSeparatorBrush}"
|
||||
@@ -371,6 +367,9 @@
|
||||
VerticalAlignment="Stretch"
|
||||
Width="1" />
|
||||
</Grid>
|
||||
</DataTemplate>
|
||||
</ItemsControl.ItemTemplate>
|
||||
</ItemsControl>
|
||||
</Grid>
|
||||
|
||||
<ItemsControl Grid.Row="1" ItemsSource="{Binding AppState.Tabs}">
|
||||
|
||||
Reference in New Issue
Block a user