Commit 835ab0c4 authored by Alessandro Portale's avatar Alessandro Portale Committed by Orgad Shaneh

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>
parent d027cab4
......@@ -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