]> git.mxchange.org Git - flightgear.git/commit
layout-props.cxx: hrule/vrule shall be accepted as widgets even if they
authormfranz <mfranz>
Mon, 26 Mar 2007 15:17:38 +0000 (15:17 +0000)
committermfranz <mfranz>
Mon, 26 Mar 2007 15:17:38 +0000 (15:17 +0000)
commitf27d7b2340ea1f53239965325ed1cd455551f1ec
treeb60afc43e361d2edd32150bc50a09fa710b4e494
parent60516c8a3fca21386ec1c7d16cd0cc18e460cce2
layout-props.cxx: hrule/vrule shall be accepted as widgets even if they
    have no children (in which case they default to 1px thickness & stretch).
    This allows to just write <hrule/> instead of <hrule><dummy/></hrule>.
    One can still use <hrule><pref-height>3</pref-height></hrule>, of course.
layout.cxx: drop silly do??Box calls for hrule/vrule (yes, I wrote that :-)
src/GUI/layout-props.cxx
src/GUI/layout.cxx