Padded ItemStatus Text (#29560)
* Back in the saddle again! <(8o) * if you like my STYLE you should see my SHEETS ;-) * stylesheet change works for ItemStatusNotHeld but broken for ItemStatus. Just using xaml for now. * teehee * beeg --------- Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -695,6 +695,18 @@ namespace Content.Client.Stylesheets
|
|||||||
new StyleProperty("font-color", Color.FromHex("#E5E5E581")),
|
new StyleProperty("font-color", Color.FromHex("#E5E5E581")),
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
// ItemStatus for hands
|
||||||
|
Element()
|
||||||
|
.Class(StyleClassItemStatusNotHeld)
|
||||||
|
.Prop("font", notoSansItalic10)
|
||||||
|
.Prop("font-color", ItemStatusNotHeldColor)
|
||||||
|
.Prop(nameof(Control.Margin), new Thickness(4, 0, 0, 2)),
|
||||||
|
|
||||||
|
Element()
|
||||||
|
.Class(StyleClassItemStatus)
|
||||||
|
.Prop(nameof(RichTextLabel.LineHeightScale), 0.7f)
|
||||||
|
.Prop(nameof(Control.Margin), new Thickness(4, 0, 0, 2)),
|
||||||
|
|
||||||
// Context Menu window
|
// Context Menu window
|
||||||
Element<PanelContainer>().Class(ContextMenuPopup.StyleClassContextMenuPopup)
|
Element<PanelContainer>().Class(ContextMenuPopup.StyleClassContextMenuPopup)
|
||||||
.Prop(PanelContainer.StylePropertyPanel, contextMenuBackground),
|
.Prop(PanelContainer.StylePropertyPanel, contextMenuBackground),
|
||||||
|
|||||||
Reference in New Issue
Block a user