This reverts commit c6b86bdc955d30f629780557f04cd8292252afdc.
@@ -111,7 +111,7 @@ namespace Terminal.Gui {
private void Initialize ()
{
- if (Bounds.Height < minimumHeight && Height.GetType ().Name == "DimAbsolute") {
+ if (Bounds.Height < minimumHeight && Height is Dim.DimAbsolute) {
Height = minimumHeight;
}