mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-04 09:06:23 +02:00
Add MaxWidth property for text rendering in UI controls and fix maxWidth parameter in canvas extension methods
This commit is contained in:
@@ -67,6 +67,7 @@ public class Button() : Control("Button")
|
||||
["Color"] = TextColor,
|
||||
["Content"] = Text,
|
||||
["FontSize"] = Size.Height - 8,
|
||||
["MaxWidth"] = Size.Width,
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user