forked from qt-creator/qt-creator
Welcome: Fix the handling of the new Theme::FlatToolBars flag
Small addition which should have been part of8588cf268f
Change-Id: Iddc91e1ec98a944b2d44f615140025693cfc0fd0 Reviewed-by: Orgad Shaneh <orgads@gmail.com> (cherry picked from commit835ab0c44f
) Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
committed by
Eike Ziller
parent
bd609e8e1e
commit
589792fe1c
@@ -64,7 +64,7 @@ Button {
|
|||||||
border.color: (button.checked || button.pressed)
|
border.color: (button.checked || button.pressed)
|
||||||
? creatorTheme.Welcome_ForegroundPrimaryColor
|
? creatorTheme.Welcome_ForegroundPrimaryColor
|
||||||
: creatorTheme.Welcome_ForegroundSecondaryColor
|
: creatorTheme.Welcome_ForegroundSecondaryColor
|
||||||
radius: (creatorTheme.WidgetStyle === 'StyleFlat') ? 0 : 4
|
radius: creatorTheme.FlatToolBars ? 0 : 4
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -187,7 +187,7 @@ Rectangle {
|
|||||||
Rectangle {
|
Rectangle {
|
||||||
id: border
|
id: border
|
||||||
color: "#00000000"
|
color: "#00000000"
|
||||||
radius: creatorTheme.WidgetStyle === 'StyleFlat' ? 0 : 6
|
radius: creatorTheme.FlatToolBars ? 0 : 6
|
||||||
anchors.rightMargin: 4
|
anchors.rightMargin: 4
|
||||||
anchors.leftMargin: 4
|
anchors.leftMargin: 4
|
||||||
anchors.bottomMargin: 4
|
anchors.bottomMargin: 4
|
||||||
|
Reference in New Issue
Block a user