make dialog window not evil (#24677)
* add Placeholder and make default buttons flags consistent w old behaviour * DialogWindow ops * make QuickDialog use DialogWindow * Update Content.Client/UserInterface/Controls/DialogWindow.xaml --------- Co-authored-by: deltanedas <@deltanedas:kde.org> Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
9
Content.Client/UserInterface/Controls/DialogWindow.xaml
Normal file
9
Content.Client/UserInterface/Controls/DialogWindow.xaml
Normal file
@@ -0,0 +1,9 @@
|
||||
<controls:FancyWindow xmlns="https://spacestation14.io" xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls">
|
||||
<BoxContainer Orientation="Vertical" Margin="8">
|
||||
<BoxContainer Name="Prompts" Orientation="Vertical"/> <!-- Populated in constructor -->
|
||||
<BoxContainer Orientation="Horizontal" HorizontalAlignment="Center">
|
||||
<Button Name="OkButton" Text="{Loc 'quick-dialog-ui-ok'}"/>
|
||||
<Button Name="CancelButton" Text="{Loc 'quick-dialog-ui-cancel'}"/>
|
||||
</BoxContainer>
|
||||
</BoxContainer>
|
||||
</controls:FancyWindow>
|
||||
Reference in New Issue
Block a user