Fix profiler rows with larger font sizes.

This commit is contained in:
Chandler Cox
2023-09-16 14:51:47 -05:00
parent 1d08e4b1b8
commit f4b7ae41a9

View File

@@ -37,6 +37,9 @@ namespace FlaxEditor.GUI
: base(0, 0, 100, height)
{
Depth = -1;
if (Height < Style.Current.FontMedium.Height)
Height = Style.Current.FontMedium.Height + 4;
}
/// <inheritdoc />