]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/layout.cxx
Canvas: Proper fix for OpenVG init handling.
[flightgear.git] / src / GUI / layout.cxx
index aac89f550267a6f850233999c8919f1657d2b9da..dd6f1b6ca1ec8f8f84b5b2da6d7a193cfa76825e 100644 (file)
@@ -5,7 +5,6 @@
 
 #include "layout.hxx"
 
-#include <simgear/Math/SGMath.hxx>
 
 // This file contains the actual layout engine.  It has no dependence
 // on outside libraries; see layout-props.cxx for the glue code.
@@ -80,7 +79,7 @@ void LayoutWidget::calcPrefSize(int* w, int* h)
         if(getBool("vertical")) *w = 4*UNIT;
         else                    *h = 4*UNIT;
     } else if (isType("list") || isType("airport-list")
-            || isType("property-list") || isType("dial")) {
+            || isType("property-list") || isType("dial") || isType("waypointlist")) {
         *w = *h = 12*UNIT;
     } else if (isType("hrule")) {
         *h = 1;