[Interest] RowLayout are overlapping

Oleg Evseev ev.mipt at gmail.com
Thu Aug 4 20:36:26 CEST 2016


This things are in basic qtquick-layouts-example
http://doc.qt.io/qt-5/qtquick-layouts-example.html

In which part of documentation you think it should be else?


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

> Dear Oleg,
>
> Thanks work perfectly.
>
> This are the things that should be explicitly in the documentation.
>
> El 04/08/16 a las 04:20, Oleg Evseev escribió:
>
> 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
>>
>
> --
>
> Máximo Ramírez
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160804/a4f0109f/attachment.html>


More information about the Interest mailing list