Allow control layout properties to be set via style sheet. (take 2) (#5037)

* Reapply "Allow control layout properties to be set via style sheet." (#5035)

This reverts commit af36d24892.

* Fix tests

MaxSize properties had wrong default. Oops.
This commit is contained in:
Pieter-Jan Briers
2024-04-17 00:42:12 +02:00
committed by GitHub
parent a6e7224672
commit 0fadfc2d9b
4 changed files with 162 additions and 8 deletions
@@ -239,6 +239,7 @@ namespace Robust.Client.UserInterface
protected virtual void StylePropertiesChanged()
{
UpdateLayoutStyleProperties();
InvalidateMeasure();
}