Improve gas analyzer interface (#22779)

This commit is contained in:
qwerltaz
2023-12-20 18:56:57 +01:00
committed by GitHub
parent ef4afc5612
commit 289aab768f
4 changed files with 48 additions and 8 deletions

View File

@@ -9,6 +9,8 @@ namespace Content.Client.UserInterface.Controls
[GenerateTypedNameReferences]
public partial class SplitBar : BoxContainer
{
public Vector2 MinBarSize = new(24, 0);
public SplitBar()
{
RobustXamlLoader.Load(this);
@@ -33,7 +35,7 @@ namespace Content.Client.UserInterface.Controls
PaddingLeft = 2f,
PaddingRight = 2f,
},
MinSize = new Vector2(24, 0)
MinSize = MinBarSize
});
}
}