mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-07 23:41:47 +02:00
Add FontSize property to Text element and render with DrawStringHeight
This commit is contained in:
@@ -15,4 +15,10 @@ public class Text() : UIElement("Text")
|
||||
get;
|
||||
set => SetProperty(nameof(Color), ref field, value);
|
||||
} = Color.White;
|
||||
|
||||
public int FontSize
|
||||
{
|
||||
get;
|
||||
set => SetProperty(nameof(FontSize), ref field, value);
|
||||
} = 12;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user