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:
Joshua Goins
2024-03-14 19:22:31 -04:00
parent 0cc38aa69a
commit 064b0581a7

View File

@@ -23,17 +23,27 @@ FormCard.FormCardPage {
header: QQC2.TabBar {
id: tabBar
readonly property real tabWidth: tabBar.width / tabBar.count
QQC2.TabButton {
text: qsTr("Room Data")
implicitWidth: tabBar.tabWidth
}
QQC2.TabButton {
text: qsTr("Server Info")
implicitWidth: tabBar.tabWidth
}
QQC2.TabButton {
text: i18nc("@title:tab", "Account Data")
implicitWidth: tabBar.tabWidth
}
QQC2.TabButton {
text: i18nc("@title:tab", "Feature Flags")
implicitWidth: tabBar.tabWidth
}
}