forked from qt-creator/qt-creator
Welcome: Fix the handling of the new Theme::FlatToolBars flag
Small addition which should have been part of
8588cf268f
Change-Id: Iddc91e1ec98a944b2d44f615140025693cfc0fd0
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
d027cab44e
commit
835ab0c44f
@@ -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
|
||||
|
Reference in New Issue
Block a user