diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2023-11-01 20:40:53 +0100 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2023-11-04 01:00:47 +0100 |
commit | d0d0d7435dd26fe1be126a603f810925e1e14183 (patch) | |
tree | 59f2822483ea9e3d834032c027964f779dbbfa59 | |
parent | 5d6063cb3cffc91ad615aa123bf90d3737e3af02 (diff) |
StyleGenerator: fix TabBar and ToolBar state strings
Change-Id: I0cba1ed7b03667f6e4ebb2bd52bb812d714aa838
Reviewed-by: Doris Verria <doris.verria@qt.io>
-rw-r--r-- | tools/qqcstylegenerator/templates/TabBar.qml | 2 | ||||
-rw-r--r-- | tools/qqcstylegenerator/templates/ToolBar.qml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/qqcstylegenerator/templates/TabBar.qml b/tools/qqcstylegenerator/templates/TabBar.qml index f1d42936e0..7188b1974c 100644 --- a/tools/qqcstylegenerator/templates/TabBar.qml +++ b/tools/qqcstylegenerator/templates/TabBar.qml @@ -24,7 +24,7 @@ T.TabBar { readonly property string __currentState: position === TabBar.Header ? (enabled ? "normal" : "disabled") - : (enabled ? "normal-footer" : "disabled-footer") + : (enabled ? "normal_footer" : "disabled_footer") readonly property var config: Config.controls.tabbar[__currentState] || {} contentItem: ListView { diff --git a/tools/qqcstylegenerator/templates/ToolBar.qml b/tools/qqcstylegenerator/templates/ToolBar.qml index d7173ad728..793413ebc7 100644 --- a/tools/qqcstylegenerator/templates/ToolBar.qml +++ b/tools/qqcstylegenerator/templates/ToolBar.qml @@ -24,7 +24,7 @@ T.ToolBar { readonly property string __currentState: position === ToolBar.Header ? (enabled ? "normal" : "disabled") - : (enabled ? "normal-footer" : "disabled-footer") + : (enabled ? "normal_footer" : "disabled_footer") readonly property var config: Config.controls.toolbar[__currentState] || {} background: StyleImage { |