forked from qt-creator/qt-creator
Tracing: Drop padding from ImageToolButton's background
It does not seem to make much of a difference and PaddedRectangle was not supposed to be available from QtQuick.Controls. Task-number: QTBUG-129390 Change-Id: I7fdcaaef27066cb61bbd3d8e3fef3643c5f4ffa7 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -22,8 +22,7 @@ ToolButton {
|
||||
smooth: false
|
||||
}
|
||||
|
||||
background: PaddedRectangle {
|
||||
padding: Theme.compactToolbar() ? 0 : 3
|
||||
background: Rectangle {
|
||||
radius: Theme.compactToolbar() ? 0 : 5
|
||||
color: (parent.checked || parent.pressed)
|
||||
? Theme.color(Theme.FancyToolButtonSelectedColor)
|
||||
|
Reference in New Issue
Block a user