[Development] QtQuick.Layouts and content margins

Alberto Mardegan mardy at users.sourceforge.net
Mon Feb 25 13:04:46 CET 2019


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 is 100 x 40
>         Button {
>             Layout.leftMargin: 6 // override default
>         }
>     }

Yes. Sounds good? :-)

Ciao,
  Alberto

-- 
http://www.mardy.it - Geek in un lingua international



More information about the Development mailing list