Commit 589792fe authored by Alessandro Portale's avatar Alessandro Portale Committed by Eike Ziller

Welcome: Fix the handling of the new Theme::FlatToolBars flag

Small addition which should have been part of
8588cf26

Change-Id: Iddc91e1ec98a944b2d44f615140025693cfc0fd0
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
(cherry picked from commit 835ab0c4)
Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
parent bd609e8e
......@@ -64,7 +64,7 @@ Button {
border.color: (button.checked || button.pressed)
? creatorTheme.Welcome_ForegroundPrimaryColor
: creatorTheme.Welcome_ForegroundSecondaryColor
radius: (creatorTheme.WidgetStyle === 'StyleFlat') ? 0 : 4
radius: creatorTheme.FlatToolBars ? 0 : 4
}
}
......
......@@ -187,7 +187,7 @@ Rectangle {
Rectangle {
id: border
color: "#00000000"
radius: creatorTheme.WidgetStyle === 'StyleFlat' ? 0 : 6
radius: creatorTheme.FlatToolBars ? 0 : 6
anchors.rightMargin: 4
anchors.leftMargin: 4
anchors.bottomMargin: 4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment