Hi,
I get this error when I try to show a tab (app is done with QT 5.2, with QT Quick 2):
Qt Code:
  1. file:///home/niko/qtdev/build-forms-Desktop_Qt_5_2_1_GCC_64bit-Debug/qml/forms/main.qml:207:5: QML Column: Cannot specify top, bottom, verticalCenter, fill or centerIn anchors for items inside Column. Column will not function.
To copy to clipboard, switch view to plain text mode 

the column is declared like this in my main qml file:
Qt Code:
  1. Column {
  2. Row {
  3. Label {
  4. text: "Search:"
  5. }
  6.  
  7. TextField {
  8. width: 160
  9. placeholderText: "search..."
  10. }
  11. Button {
  12. text: " Ok ";
  13. }
  14. Button {
  15. text: "...";
  16. menu: menu_options
  17. }
  18. }
  19. TabView {
  20. id: companies_tab
  21. anchors.fill: parent
  22. }
  23. }
To copy to clipboard, switch view to plain text mode 

this is how I create the tab:
Qt Code:
  1. Component.onCompleted: {
  2. loginWindow.show();
  3.  
  4. companies_tab.addTab("Company",Qt.createComponent("Tabc.qml"));
  5. }
To copy to clipboard, switch view to plain text mode 

The Tabc.qml component has this code:
Qt Code:
  1. import QtQuick 2.0
  2. import QtQuick.Layouts 1.1
  3. import QtQuick.Dialogs 1.1
  4. import QtQuick.Window 2.1
  5. import QtQuick.Controls 1.1
  6.  
  7. Rectangle {
  8. ListModel {
  9. id: libraryModel
  10. ListElement{ title: "Buy a car" ; type: "Task" ; sender: "boss@domain.com"}
  11. ListElement{ title: "Install Linux" ; type: "Task"; sender: "cto@domain.com" }
  12. ListElement{ title: "What are the sales for this month?" ; type: "Question"; sender: "secretary@domain.com" }
  13. }
  14.  
  15. TableView {
  16. width: parent.width
  17. TableViewColumn{ role: "title" ; title: "Title" }
  18. TableViewColumn{ role: "type" ; title: "Type" }
  19. TableViewColumn{ role: "sender" ; title: "From" }
  20. model: libraryModel
  21. }
  22. }
To copy to clipboard, switch view to plain text mode 

How do I fix this and make the tab appear ?
TIA