Skip to content

Commit

Permalink
Improve history layout
Browse files Browse the repository at this point in the history
  • Loading branch information
cezarypiatek committed Sep 17, 2024
1 parent 2959fdb commit 7b72391
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions src/ScriptRunner/ScriptRunner.GUI/Views/ActionDetailsSection.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,18 @@
<TabItem Header="History" IsSelected="{Binding !SelectedAction.HasDocs}">
<ListBox SelectedItem="{Binding SelectedRecentExecution}" ItemsSource="{Binding ExecutionLogForCurrent}">
<ListBox.ItemTemplate>


<DataTemplate x:DataType="viewModels:ExecutionLogAction">
<StackPanel Orientation="Horizontal">
<avalonia:Icon Value="fas fa-clock" />
<TextBlock Margin="10,0" Text="{Binding Description}"></TextBlock>
</StackPanel>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>

<avalonia:Icon Value="fas fa-clock" Margin="0,5,0,0" VerticalAlignment="Top"/>
<TextBlock Grid.Column="1" VerticalAlignment="Top" TextWrapping="Wrap" Margin="10,0" Text="{Binding Description}"></TextBlock>
</Grid>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
Expand Down

0 comments on commit 7b72391

Please sign in to comment.