Update submodule, implement style for Tree.

This commit is contained in:
Pieter-Jan Briers
2019-04-08 18:58:16 +02:00
parent 49845d736b
commit 8c7e7e5510
2 changed files with 15 additions and 1 deletions

View File

@@ -357,6 +357,20 @@ namespace Content.Client.UserInterface
{
new StyleProperty(ItemList.StylePropertySelectedItemBackground, new StyleBoxFlat { BackgroundColor = new Color(75, 75, 86)})
}),
// Tree
new StyleRule(new SelectorElement(typeof(Tree), null, null, null), new []
{
new StyleProperty(Tree.StylePropertyBackground, new StyleBoxFlat { BackgroundColor = new Color(32, 32, 40)})
}),
new StyleRule(new SelectorElement(typeof(Tree), null, null, null), new []
{
new StyleProperty(Tree.StylePropertyItemBoxSelected, new StyleBoxFlat
{
BackgroundColor = new Color(55, 55, 68),
ContentMarginLeftOverride = 4
})
}),
});
}
}