ToolBarStyle QML Type▲
- 
					Import Statement: import QtQuick.Controls.Styles 1.4 
- 
					Since: Qt 5.2 
- 
					Group: ToolBarStyle is part of Styling Controls 
Detailed Description▲
The tool bar can be defined by overriding the background component and setting the content padding.
Example:
ToolBar {
    style: ToolBarStyle {
        padding {
            left: 8
            right: 8
            top: 3
            bottom: 3
        }
        background: Rectangle {
            implicitWidth: 100
            implicitHeight: 40
            border.color: "#999"
            gradient: Gradient {
                GradientStop { position: 0 ; color: "#fff" }
                GradientStop { position: 1 ; color: "#eee" }
            }
        }
    }
}Property Documentation▲
background : Component▲
This defines the background of the tool bar.
[since QtQuick.Controls.Styles 1.3] menuButton : Component▲
The following read-only properties are available within the scope of the menu button delegate:
| styleData.pressed : bool | Whether the button is pressed. | 
| styleData.hovered : bool | Whether the button is hovered. | 
| styleData.activeFocus : bool | Whether the button has active focus. | 
This property was introduced in QtQuick.Controls.Styles 1.3.
padding group▲
padding.bottom : int
padding.left : int
padding.right : int
padding.top : int
This grouped property holds the top, left, right and bottom padding.
panel : Component▲
This defines the panel of the tool bar.




