]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Lower minimum size of absorbent item status (#35804)
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>
Thu, 10 Apr 2025 10:48:13 +0000 (12:48 +0200)
committerGitHub <noreply@github.com>
Thu, 10 Apr 2025 10:48:13 +0000 (20:48 +1000)
https://github.com/space-wizards/RobustToolbox/commit/80f2dc6dd3c922c8c004613098da1982c66f4b2f fixed BoxContainer so that the actual specified MinimumSize gets used. This is a problem because for the absorbent item status it's way too high so it looks silly.

Content.Client/Fluids/UI/AbsorbentItemStatus.xaml.cs

index 88c13fab68c74a823584df9ed5d8c1b51abb6e5d..f664a6130e309ed29df76ad3ee0d0bd020000717 100644 (file)
@@ -1,4 +1,5 @@
 using System.Linq;
+using System.Numerics;
 using Content.Client.UserInterface.Controls;
 using Content.Shared.Fluids;
 using Robust.Client.AutoGenerated;
@@ -21,6 +22,8 @@ namespace Content.Client.Fluids.UI
             RobustXamlLoader.Load(this);
             _uid = uid;
             _entManager = entManager;
+
+            MinBarSize = new Vector2(10, 0);
         }
 
         protected override void FrameUpdate(FrameEventArgs args)