add back that pragma, still necessary, oops

This commit is contained in:
end-4 2025-06-02 18:33:23 +02:00
parent 098098ab2d
commit fdadca431f
2 changed files with 2 additions and 4 deletions

View file

@ -14,10 +14,7 @@ ColumnLayout {
property color colBorder: Appearance?.m3colors.m3outlineVariant ?? "#C6C6D0"
signal currentIndexChanged(int index)
property bool centerTabBar: {
console.log("PARREND WIDHTH", parent.width)
parent.width > 500
}
property bool centerTabBar: parent.width > 500
Layout.fillWidth: !centerTabBar
Layout.alignment: Qt.AlignHCenter
implicitWidth: Math.max(tabBar.implicitWidth, 600)

View file

@ -1,5 +1,6 @@
//@ pragma UseQApplication
//@ pragma Env QS_NO_RELOAD_POPUP=1
//@ pragma Env QT_QUICK_CONTROLS_STYLE=Basic
import "./modules/common/"
import "./modules/bar/"