Skip to content

Commit

Permalink
Update style of EnvVarEditorDialog.
Browse files Browse the repository at this point in the history
  • Loading branch information
hamster620 committed Jan 16, 2024
1 parent c1df9cc commit 9d0eb8d
Showing 1 changed file with 10 additions and 19 deletions.
29 changes: 10 additions & 19 deletions ULogViewer/Controls/EnvVarEditorDialog.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,17 @@
</Border>

<!-- Content -->
<StackPanel Classes="Dialog_ContentPanel_WithItemsGroups">
<Border Classes="Dialog_ItemsGroup_Container">
<StackPanel>
<StackPanel Classes="Dialog_ContentPanel">

<!-- Name -->
<TextBlock Classes="Dialog_TextBlock_Label" Text="{DynamicResource String/EnvVarEditorDialog.Name}"/>
<TextBox Name="nameTextBox" Classes="Dialog_TextBox" MaxLength="64"/>
<Separator Classes="Dialog_Separator"/>

<!-- Name -->
<asControls:DialogItemGrid>
<TextBlock Classes="Dialog_TextBlock_Label" Text="{DynamicResource String/EnvVarEditorDialog.Name}"/>
<TextBox Name="nameTextBox" Classes="Dialog_Item_TextBox" Grid.Column="1" MaxLength="64" Watermark="{DynamicResource String/Common.Required}"/>
</asControls:DialogItemGrid>
<Separator Classes="Dialog_Item_Separator"/>

<!-- Value -->
<asControls:DialogItemBorder>
<TextBlock Classes="Dialog_TextBlock_Label" Text="{DynamicResource String/EnvVarEditorDialog.Value}"/>
</asControls:DialogItemBorder>
<Line Classes="Dialog_Item_Separator_Inner"/>
<TextBox Name="valueTextBox" Classes="Dialog_Item_TextBox" Height="{StaticResource Double/EnvVarEditorDialog.Value.Height}" HorizontalAlignment="Stretch" MaxLength="8191" TextAlignment="Left" Watermark="{DynamicResource String/Common.None}"/>

</StackPanel>
</Border>
<!-- Value -->
<TextBlock Classes="Dialog_TextBlock_Label" Text="{DynamicResource String/EnvVarEditorDialog.Value}"/>
<TextBox Name="valueTextBox" Classes="Dialog_TextBox" Height="{StaticResource Double/EnvVarEditorDialog.Value.Height}" HorizontalAlignment="Stretch" MaxLength="8191" TextAlignment="Left"/>

</StackPanel>

</DockPanel>
Expand Down

0 comments on commit 9d0eb8d

Please sign in to comment.