diff options
Diffstat (limited to 'components/TabBar.qml')
-rw-r--r-- | components/TabBar.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/TabBar.qml b/components/TabBar.qml index c5a923a4..c965d067 100644 --- a/components/TabBar.qml +++ b/components/TabBar.qml @@ -124,7 +124,7 @@ Item { elementType: "tab" selected: tab.selected info: tabbar.position - text: tabFrame.tabs[index].title +// text: tabFrame.tabs[index].title hover: mousearea.containsMouse hasFocus: tabbar.focus && selected property bool first: index === 0 @@ -137,11 +137,11 @@ Item { contentHeight: Math.max(style.fontHeight + tabVSpace + 6, 0) Text { id: textitem - // Used for size hint - visible: false + anchors.centerIn: parent onWidthChanged: updateRect() onHeightChanged: updateRect() text: tabFrame.tabs[index].title + renderType: Desktop.nativeTextRendering ? Text.NativeRendering : Text.QtRendering } } MouseArea { |