]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Make the buttons on the map ui not squished (#26604)
authorWrexbe (Josh) <81056464+wrexbe@users.noreply.github.com>
Sun, 31 Mar 2024 08:51:02 +0000 (01:51 -0700)
committerGitHub <noreply@github.com>
Sun, 31 Mar 2024 08:51:02 +0000 (19:51 +1100)
Make the map ui work

Co-authored-by: wrexbe <wrexbe@protonmail.com>
Content.Client/Pinpointer/UI/NavMapControl.cs

index a8ec7b37a0b3f7116296bdc7f68375d09688fa86..677092e19181e6d0c1a8c83d4d9cb664e6813b88 100644 (file)
@@ -114,9 +114,16 @@ public partial class NavMapControl : MapGridControl
             VerticalExpand = false,
             Children =
             {
-                _zoom,
-                _beacons,
-                _recenter,
+                new BoxContainer()
+                {
+                    Orientation = BoxContainer.LayoutOrientation.Horizontal,
+                    Children =
+                    {
+                        _zoom,
+                        _beacons,
+                        _recenter
+                    }
+                }
             }
         };