]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix profile editor save buttons disappearing at small resolutions (#28001)
authorShadowCommander <shadowjjt@gmail.com>
Tue, 14 May 2024 04:03:06 +0000 (21:03 -0700)
committerGitHub <noreply@github.com>
Tue, 14 May 2024 04:03:06 +0000 (14:03 +1000)
Content.Client/Lobby/UI/HumanoidProfileEditor.xaml

index 918b6840b45b760e5e80dd590a0173183846d86c..03a205e94a80475d8344ffcd547ee1ca5bf10769 100644 (file)
@@ -7,7 +7,7 @@
         <!-- Left side -->
         <BoxContainer Orientation="Vertical" Margin="10 10 10 10" HorizontalExpand="True">
             <!-- Middle container -->
-            <BoxContainer Orientation="Horizontal" SeparationOverride="10">
+            <BoxContainer Orientation="Horizontal" SeparationOverride="10" HorizontalExpand="True">
                 <!-- Name box-->
                 <BoxContainer Orientation="Vertical">
                     <ui:HighlightedContainer>
                     </ui:HighlightedContainer>
                 </BoxContainer>
                 <!-- Import/Export -->
-                <BoxContainer Orientation="Vertical">
-                    <ui:HighlightedContainer>
-                        <BoxContainer Orientation="Horizontal" SeparationOverride="5">
+                <BoxContainer Orientation="Vertical" MinSize="60 0" HorizontalExpand="True" HorizontalAlignment="Right">
+                    <ui:HighlightedContainer Name="ProfileHighlight">
+                        <BoxContainer Orientation="Vertical">
+                            <Button Name="SaveButton" Text="{Loc 'humanoid-profile-editor-save-button'}"/>
+                            <Button Name="ResetButton" Disabled="True" Text="{Loc 'humanoid-profile-editor-reset-button'}"/>
                             <Button Name="ImportButton" Text="{Loc 'humanoid-profile-editor-import-button'}"/>
                             <Button Name="ExportButton" Text="{Loc 'humanoid-profile-editor-export-button'}"/>
-                            <Button Name="SaveButton" Text="{Loc 'humanoid-profile-editor-save-button'}" />
-                            <Button Name="ResetButton" Disabled="True" Text="{Loc 'humanoid-profile-editor-reset-button'}"/>
                         </BoxContainer>
                     </ui:HighlightedContainer>
                 </BoxContainer>