diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-01-26 15:50:32 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-01-27 10:37:32 +0000 |
commit | b7aa18839ef53ca4b63e38c61593d34d96b376a1 (patch) | |
tree | 8baa853293a041c07a95c86f63e24eeba6897f74 /src/imports/controls/material/Menu.qml | |
parent | 3242a3be7c7cc84e6fcda3e90a7713d9fda16915 (diff) |
Material ProgressBar: remove padding
Other styles don't have padding either. No padding makes it possible to
put a ProgressBar at the bottom of a ToolBar or other AppWindow header,
which is common in mobile apps these days.
ApplicationWindow {
visible: true
header: ToolBar {
ProgressBar {
value: 0.5
width: parent.width
anchors.bottom: parent.bottom
background.visible: false
}
}
}
}
Change-Id: Ia43c5bfd0b58dafd5ff0ad4c65fa95f156622aa4
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/imports/controls/material/Menu.qml')
0 files changed, 0 insertions, 0 deletions