X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FGUI%2Flayout.cxx;h=dd6f1b6ca1ec8f8f84b5b2da6d7a193cfa76825e;hb=6dd47822545bf27f69a18a2d0ccc8abf91daa8d5;hp=5bfd3524340ea1b8118def305388851e4847967c;hpb=95c5a726a76521eb87ff9122dda9bb8d9818263f;p=flightgear.git diff --git a/src/GUI/layout.cxx b/src/GUI/layout.cxx index 5bfd35243..dd6f1b6ca 100644 --- a/src/GUI/layout.cxx +++ b/src/GUI/layout.cxx @@ -1,5 +1,11 @@ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include "layout.hxx" + // This file contains the actual layout engine. It has no dependence // on outside libraries; see layout-props.cxx for the glue code. @@ -73,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;