Add font fallback
Note: All the `First()` in the code are temperary workarounds to make it work and require refractoring
This commit is contained in:
@@ -273,7 +273,7 @@ namespace FlaxEditor.GUI
|
||||
MaximumItemsInViewCount = 20;
|
||||
|
||||
var style = Style.Current;
|
||||
Font = new FontReference(style.FontMedium);
|
||||
Font = new FontReference(style.FontMedium.First());
|
||||
TextColor = style.Foreground;
|
||||
BackgroundColor = style.BackgroundNormal;
|
||||
BackgroundColorHighlighted = BackgroundColor;
|
||||
|
||||
Reference in New Issue
Block a user