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:
deltanedas
2024-02-01 12:56:40 +00:00
committed by GitHub
parent b932d94ded
commit 6b03aaaec7
4 changed files with 176 additions and 146 deletions

View 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>