Ver código fonte

Preparing for the PR #779

BDisp 5 anos atrás
pai
commit
c6b86bdc95
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      Terminal.Gui/Views/ComboBox.cs

+ 1 - 1
Terminal.Gui/Views/ComboBox.cs

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