[Interest] RowLayout are overlapping

Oleg Evseev ev.mipt at gmail.com
Thu Aug 4 10:20:42 CEST 2016


Hi, Máximo

Put them (two RowLayout) into ColumnLayout

Regards, Oleg.

2016-08-04 10:28 GMT+03:00 Máximo Ramírez <aquiles011 at gmail.com>:

> Hello,
>
> I'm trying to do top navigation bar based on drawer and tabs,  but when I
> put two RowLayout instead of show one first and the second after the
> RowLayout are overlapping, like you  see in the following images
>
> [only one RowLayout](http://imgur.com/a/xDxTa)
>
> [two RowLayout overlapped](http://imgur.com/a/hrkKQ)
>
> This is my code
>
>
> import QtQuick 2.7
> import QtQuick.Controls 2.0
> import QtQuick.Layouts 1.0
>
> ......................................
>
> header: ToolBar {
>
>         height: 90
>
>         RowLayout {
>             ToolButton {
>                 text: "Tool"
>             }
>         }
>
>         RowLayout {
>             TabBar {
>                 TabButton {
>                     text: "Tab"
>                 }
>                 TabButton {
>                     text: "Tab"
>                 }
>             }
>
>         }
>     }
>
>
> Anyone can explain why is doing this, and how can I solved?
>
> Thanks!
>
> --
>
> Máximo Ramírez
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160804/fc869632/attachment.html>


More information about the Interest mailing list