Skip to content

Commit f976882

Browse files
sharpninjaCopilot
andcommitted
Tablet view: shrink tree width 25%, remove history panel
Tree column reduced from 300px to 225px. Removed the ChangeLog ListBox and its row splitter from the tablet layout since they are not needed on Android. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 26741db commit f976882

1 file changed

Lines changed: 5 additions & 13 deletions

File tree

src/RequestTracker.Android/Views/TabletMainView.axaml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<conv:FileNodeToArchiveVisibleConverter x:Key="FileNodeToArchiveVisible"/>
2020
</UserControl.Resources>
2121

22-
<Grid x:Name="MainGrid" ColumnDefinitions="300, 4, *" RowDefinitions="*, 4, 150, Auto">
22+
<Grid x:Name="MainGrid" ColumnDefinitions="225, 4, *" RowDefinitions="*, Auto">
2323
<!-- Tree View -->
2424
<TreeView Grid.Column="0" Grid.Row="0"
2525
ItemsSource="{Binding Nodes}" SelectedItem="{Binding SelectedNode}"
@@ -49,19 +49,11 @@
4949
</TreeView.ItemContainerTheme>
5050
</TreeView>
5151

52-
<!-- Splitter 1 -->
53-
<GridSplitter Grid.Column="0" Grid.Row="1" ResizeDirection="Rows" Background="LightGray"/>
54-
55-
<!-- History Panel -->
56-
<Border Grid.Column="0" Grid.Row="2" BorderBrush="Gray" BorderThickness="0,1,0,0">
57-
<ListBox ItemsSource="{Binding ChangeLog}" Background="Transparent"/>
58-
</Border>
59-
60-
<!-- Splitter 2 -->
61-
<GridSplitter Grid.Column="1" Grid.Row="0" Grid.RowSpan="3" ResizeDirection="Columns" Background="LightGray"/>
52+
<!-- Column Splitter -->
53+
<GridSplitter Grid.Column="1" Grid.Row="0" ResizeDirection="Columns" Background="LightGray"/>
6254

6355
<!-- Viewer Panel (no chat button for Android) -->
64-
<Grid Grid.Column="2" Grid.Row="0" Grid.RowSpan="3" RowDefinitions="Auto, *">
56+
<Grid Grid.Column="2" Grid.Row="0" RowDefinitions="Auto, *">
6557
<!-- Navigation Toolbar -->
6658
<Grid Grid.Row="0" ColumnDefinitions="Auto, Auto, Auto, *" Margin="5">
6759
<Button Grid.Column="0" Command="{Binding NavigateBackCommand}" Margin="0,0,5,0" Width="30" ToolTip.Tip="Back">
@@ -199,7 +191,7 @@
199191
</Grid>
200192

201193
<!-- Status Bar -->
202-
<Border Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="3" Padding="8,6">
194+
<Border Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Padding="8,6">
203195
<Grid ColumnDefinitions="*,Auto">
204196
<SelectableTextBlock Grid.Column="0" Text="{Binding StatusMessage}" FontWeight="Bold" VerticalAlignment="Center"/>
205197
<TextBlock Grid.Column="1" Text="{Binding AppVersionDisplay}" VerticalAlignment="Center" Foreground="Gray"/>

0 commit comments

Comments
 (0)