diff options
Diffstat (limited to 'src/controls/TabView.qml')
-rw-r--r-- | src/controls/TabView.qml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/controls/TabView.qml b/src/controls/TabView.qml index d292ce05..6319d72c 100644 --- a/src/controls/TabView.qml +++ b/src/controls/TabView.qml @@ -55,7 +55,8 @@ import QtQuick.Controls.Private 1.0 FocusScope { id: root - implicitWidth: 150 + + implicitWidth: 240 implicitHeight: 150 /*! The current tab index */ @@ -133,7 +134,7 @@ FocusScope { } /*! Returns the \l Tab item at \a index. */ - function tabAt(index) { + function getTab(index) { return __tabs.get(index).tab } @@ -198,7 +199,7 @@ FocusScope { anchors.fill: parent anchors.margins: (frameVisible ? frameWidth : 0) anchors.topMargin: anchors.margins + (style =="mac" ? 6 : 0) - anchors.bottomMargin: anchors.margins + (style =="mac" ? 6 : 0) + anchors.bottomMargin: anchors.margins property int frameWidth property string style |