-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.6.0 Alpha
-
None
Items created by Repeater has text aligned properly (horizontal center), statically created items has text on the right side.
import QtQuick 2.5 import QtQuick.Layouts 1.1 import Qt.labs.controls 1.0 ApplicationWindow { visible: true width: 640 height: 300 ListModel { id: tabModel ListElement { text: "Test 0" } ListElement { text: "Test 1" } } Column { width: parent.width TabBar { width: parent.width Repeater { model: tabModel delegate: TabButton { text: model.text } } } TabBar { width: parent.width TabButton { text: "Test 0" } TabButton { text: "Test 1" } } }
- duplicates
-
QTBUG-48718 Mis-aligned text in tabs
-
- Closed
-