feat(ui): maximize work console via green traffic-light dot
This commit is contained in:
@@ -39,15 +39,22 @@
|
||||
<Grid>
|
||||
|
||||
<!-- Task detail: description/steps card (upper) + pinned work console (lower) -->
|
||||
<Grid IsVisible="{Binding IsTaskDetailVisible}"
|
||||
Margin="14,12,14,12"
|
||||
RowDefinitions="2*,*">
|
||||
<Grid x:Name="DetailBodyGrid"
|
||||
IsVisible="{Binding IsTaskDetailVisible}"
|
||||
Margin="14,12,14,12">
|
||||
<Grid.RowDefinitions>
|
||||
<!-- MinHeight keeps the description visible: the console can never
|
||||
overlap it, whether maximized (code-behind) or dragged. -->
|
||||
<RowDefinition Height="2*" MinHeight="90"/>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<ScrollViewer Grid.Row="0" VerticalScrollBarVisibility="Auto">
|
||||
<detail:DescriptionStepsCard VerticalAlignment="Top"/>
|
||||
</ScrollViewer>
|
||||
<detail:WorkConsole Grid.Row="1" Margin="0,10,0,0"/>
|
||||
<!-- Resize by dragging the console's top edge — a transparent splitter
|
||||
over the gap above the console; no standalone separator bar. -->
|
||||
over the gap above the console; no standalone separator bar.
|
||||
Stays draggable while maximized. -->
|
||||
<GridSplitter Grid.Row="1"
|
||||
VerticalAlignment="Top"
|
||||
Height="10"
|
||||
|
||||
Reference in New Issue
Block a user