Re: Spacing in our apps

2023-12-18 Thread Nate Graham
ote: Hi, I'm been trying to unify a bit the usage of spacing in our apps and I'm noticing a difference between how we do it in QWidgets apps and QML apps. In QtWidgets apps, we use - pixelMetric(QStyle::PM_Layout{Left,Right,Top,Bottom}Margin) for the margins - pixelMetric(QStyle::

Re: Spacing in our apps

2023-12-17 Thread Ingo Klöcker
On Sonntag, 17. Dezember 2023 13:21:32 CET Carl Schwan wrote: > a) Remove smallSpacing and largeSpacing from Kirigami, and rename > mediumSpacing to just spacing. This unified spacing value would be defined > in qqc2-desktop-style to use whatever value is defined in the current > QStyle. > > a bis

Spacing in our apps

2023-12-17 Thread Carl Schwan
Hi, I'm been trying to unify a bit the usage of spacing in our apps and I'm noticing a difference between how we do it in QWidgets apps and QML apps. In QtWidgets apps, we use - pixelMetric(QStyle::PM_Layout{Left,Right,Top,Bottom}Margin) for the margins - pixelMetric(QStyle::PM_Layou