From: Pieter-Jan Briers Date: Thu, 10 Apr 2025 10:48:13 +0000 (+0200) Subject: Lower minimum size of absorbent item status (#35804) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=25b620de2372440ddeaa9077ba00bf14c9e88006;p=space-station-14.git Lower minimum size of absorbent item status (#35804) 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. --- diff --git a/Content.Client/Fluids/UI/AbsorbentItemStatus.xaml.cs b/Content.Client/Fluids/UI/AbsorbentItemStatus.xaml.cs index 88c13fab68..f664a6130e 100644 --- a/Content.Client/Fluids/UI/AbsorbentItemStatus.xaml.cs +++ b/Content.Client/Fluids/UI/AbsorbentItemStatus.xaml.cs @@ -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)