Groupbox layout

Jean-Marc Lasgouttes lasgouttes at lyx.org
Mon Aug 3 15:01:57 UTC 2020


Le 3 août 2020 13:28:47 GMT+02:00, "Jürgen Spitzmüller" <spitz at lyx.org> a écrit :
>This should be possible with some effort. We need to set the flat
>property in the *.cpp files rather than in the layout files (where is
>is set now, via Qt Designer). We could add a new boolean member
>useFlatGB() to support/os.h which returns true by default and false for
>Mac. Then it would be just adding a lot of
>
>xxxGB->SetFlat(os::useFlatGB());

The new helper should not be in os.h, which is not for UI. It should live in GuiApplication and depend either on the Qt frontend (I do not remember the names) or the current style name

JMarc



More information about the lyx-devel mailing list