On 25/02/19 15:57, Mitch Curtis wrote:
> My only issue with it is that I don't know if it will see much use
> outside of your use case. Usually if all items in a layout have the
> same margins, you would just apply those margins to the layout
> managing them instead. While I appreciate that that w
> -Original Message-
> From: Development On Behalf Of
> Alberto Mardegan
> Sent: Monday, 25 February 2019 1:05 PM
> To: development@qt-project.org
> Subject: Re: [Development] QtQuick.Layouts and content margins
>
> On 25/02/19 11:23, Mitch Curtis wrote:
> &
On 25/02/19 11:23, Mitch Curtis wrote:
> So would it look something like this?
>
> // implicit size is 118 x 64
> ColumnLayout {
> defaultLeftMargin: 12
> defaultRightMargin: 12
> defaultBottomMargin: 12
> defaultTopMargin: 12
>
> // implicit size i
> -Original Message-
> From: Development On Behalf Of
> Alberto Mardegan
> Sent: Sunday, 24 February 2019 12:29 PM
> To: development@qt-project.org
> Subject: [Development] QtQuick.Layouts and content margins
>
> Hi there!
> I'm working on a desktop
Hi there!
I'm working on a desktop style for QtQuick.Controls 2 [1], and I'm
currently investigating the issue of layouts. My current approach is to
define my own ColumnLayout element like this:
==
import QtQuick.Layouts 1.2
import it.mardy.Desktop.private 1.0
ColumnLayout {
anc