Remove usages of SizeFlags (#4662)
* Remove usages of SizeFlags * Remove defaults
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<BoxContainer xmlns="https://spacestation14.io"
|
||||
Orientation="Vertical">
|
||||
<Control MinSize="0 5" />
|
||||
<BoxContainer Orientation="Horizontal">
|
||||
<!-- <Label Text="{Loc Search}" CustomMinimumSize="100 0" /> -->
|
||||
<!-- <Control CustomMinimumSize="50 0" /> -->
|
||||
<LineEdit Name="FilterLineEdit" MinSize="100 0" SizeFlagsHorizontal="FillExpand" PlaceHolder="{Loc Filter}"/>
|
||||
</BoxContainer>
|
||||
<!-- <Control CustomMinimumSize="0 5" /> -->
|
||||
<ItemList
|
||||
Name="PlayerItemList" SelectMode="Single" SizeFlagsVertical="FillExpand" SizeFlagsHorizontal="FillExpand"
|
||||
MinSize="100 100" />
|
||||
<LineEdit Name="FilterLineEdit"
|
||||
MinSize="100 0"
|
||||
HorizontalExpand="True"
|
||||
PlaceHolder="{Loc Filter}"/>
|
||||
<ItemList Name="PlayerItemList"
|
||||
SelectMode="Single"
|
||||
VerticalExpand="True"
|
||||
HorizontalExpand="True"
|
||||
MinSize="100 100" />
|
||||
</BoxContainer>
|
||||
|
||||
@@ -348,7 +348,7 @@ namespace Content.Client.CharacterAppearance
|
||||
_facialHairStylePicker.OnHairStylePicked += newStyle => owner.HairSelected(newStyle, true);
|
||||
_facialHairStylePicker.OnHairColorPicked += newColor => owner.HairColorSelected(newColor, true);
|
||||
|
||||
_eyeColorPicker = new EyeColorPicker {SizeFlagsHorizontal = SizeFlags.FillExpand};
|
||||
_eyeColorPicker = new EyeColorPicker { HorizontalExpand = true };
|
||||
_eyeColorPicker.OnEyeColorPicked += newColor => owner.EyeColorSelected(newColor);
|
||||
|
||||
Contents.AddChild(new BoxContainer
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<Control xmlns="https://spacestation14.io">
|
||||
<BoxContainer Orientation="Vertical" SeparationOverride="0">
|
||||
<Button Name="RoleButton">
|
||||
<Label Name="TimerLabel" SizeFlagsHorizontal="ShrinkEnd" SizeFlagsVertical="ShrinkEnd" />
|
||||
<Label Name="TimerLabel" HorizontalAlignment="Right" VerticalAlignment="Bottom" />
|
||||
</Button>
|
||||
</BoxContainer>
|
||||
</Control>
|
||||
|
||||
@@ -434,10 +434,7 @@ namespace Content.Client.Verbs
|
||||
Stretch = TextureRect.StretchMode.KeepCentered
|
||||
}),
|
||||
|
||||
(_label = new Label
|
||||
{
|
||||
SizeFlagsHorizontal = SizeFlags.FillExpand
|
||||
}),
|
||||
(_label = new Label { HorizontalExpand = true }),
|
||||
|
||||
// Padding
|
||||
new Control {MinSize = (8, 0)},
|
||||
|
||||
Reference in New Issue
Block a user