Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DYN-7699] Panel should show run all button when panel size is very small #78

Merged
merged 2 commits into from
Nov 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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