Make the tabs in developer tools full-width
It looks slightly better, and since there's only four tabs it increases the tappable area for them.
This commit is contained in:
@@ -23,17 +23,27 @@ FormCard.FormCardPage {
|
|||||||
header: QQC2.TabBar {
|
header: QQC2.TabBar {
|
||||||
id: tabBar
|
id: tabBar
|
||||||
|
|
||||||
|
readonly property real tabWidth: tabBar.width / tabBar.count
|
||||||
|
|
||||||
QQC2.TabButton {
|
QQC2.TabButton {
|
||||||
text: qsTr("Room Data")
|
text: qsTr("Room Data")
|
||||||
|
|
||||||
|
implicitWidth: tabBar.tabWidth
|
||||||
}
|
}
|
||||||
QQC2.TabButton {
|
QQC2.TabButton {
|
||||||
text: qsTr("Server Info")
|
text: qsTr("Server Info")
|
||||||
|
|
||||||
|
implicitWidth: tabBar.tabWidth
|
||||||
}
|
}
|
||||||
QQC2.TabButton {
|
QQC2.TabButton {
|
||||||
text: i18nc("@title:tab", "Account Data")
|
text: i18nc("@title:tab", "Account Data")
|
||||||
|
|
||||||
|
implicitWidth: tabBar.tabWidth
|
||||||
}
|
}
|
||||||
QQC2.TabButton {
|
QQC2.TabButton {
|
||||||
text: i18nc("@title:tab", "Feature Flags")
|
text: i18nc("@title:tab", "Feature Flags")
|
||||||
|
|
||||||
|
implicitWidth: tabBar.tabWidth
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user