Skip to content

Commit

Permalink
[DYN-7699] Panel should show run all button when panel size is very s…
Browse files Browse the repository at this point in the history
…mall (#78)

* temp

* Update TuneUpWindow.xaml
  • Loading branch information
ivaylo-matov authored Nov 5, 2024
1 parent 5bef58d commit 593097f
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions TuneUp/TuneUpWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,8 @@
</Grid.Resources>

<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" MinWidth="150" />
<ColumnDefinition Width="150" />
<ColumnDefinition Width="*" MinWidth="100"/>
<ColumnDefinition Width="120"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
Expand All @@ -407,8 +407,9 @@
HorizontalAlignment="Left"
Orientation="Vertical">
<TextBlock
Height="20"
Margin="5,0,0,0"
Margin="5,0,0,3"
TextWrapping="Wrap"
TextTrimming="CharacterEllipsis"
Text="{x:Static resx:Resources.Label_GraphExecutionTime}" />
<StackPanel Style="{StaticResource TotalTimeHeaderStackPanelStyle}">
<TextBlock
Expand Down Expand Up @@ -443,7 +444,7 @@
<StackPanel
Grid.Row="0"
Grid.Column="1"
HorizontalAlignment="Right"
HorizontalAlignment="Stretch"
VerticalAlignment="Top"
Orientation="Horizontal">
<ToggleButton
Expand All @@ -454,7 +455,10 @@
IsChecked="{Binding ShowGroups, Mode=TwoWay}"
IsEnabled="True"
Style="{StaticResource EllipseToggleButton1}" />
<TextBlock Margin="5,0,7,0" Text="{x:Static resx:Resources.Button_ShowGroups}" />
<TextBlock Margin="5,0,7,0"
TextWrapping="Wrap"
TextTrimming="CharacterEllipsis"
Text="{x:Static resx:Resources.Button_ShowGroups}" />
<!--<Rectangle Width="16"
Height="16"
Margin="10,0,7,0"
Expand All @@ -466,13 +470,14 @@
</StackPanel>
<!-- Run All Button -->
<Button
Grid.Row="1"
Grid.Column="2"
Grid.Row="0"
Grid.Column="1"
Width="60"
Height="24"
Margin="0,0,7,20"
Margin="0,0,7,8"
Padding="5,2,5,2"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
BorderBrush="{StaticResource BorderMediumColorBrush}"
Click="RecomputeGraph_Click"
Content="{x:Static resx:Resources.Button_RunAll}"
Expand All @@ -488,6 +493,7 @@
<!-- Data Grids -->
<Grid
Name="Nodes"
Margin="0,10,0,0"
Grid.Row="2"
Grid.Column="0"
Grid.ColumnSpan="2">
Expand Down

0 comments on commit 593097f

Please sign in to comment.