QML UI: make all buttons more attractive

Commit f3f7930 introduced a more attractive button style to the start page.
This patch turns it into its own type so it can easily be used everywhere.

Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Rick Walsh 2016-01-20 22:47:58 +11:00 committed by Dirk Hohndel
parent f3f79309d3
commit 471270437b
8 changed files with 40 additions and 31 deletions

View file

@ -58,7 +58,7 @@ GridLayout {
Item {
height: saveButton.height
Layout.preferredWidth: saveButton.width
Button {
SubsurfaceButton {
id: saveButton
text: "Save"
anchors.centerIn: parent