Style scripts section

This commit is contained in:
David Rowe 2016-02-26 14:10:37 +13:00
parent a25702535b
commit 513bc5d4ef
2 changed files with 15 additions and 3 deletions

View file

@ -18,7 +18,7 @@ Original.Button {
id: button
property int color: 0
width: 120
height: 30
height: 28
style: ButtonStyle {

View file

@ -1,5 +1,16 @@
//
// BrowsablePreference.qml
//
// Created by Bradley Austin Davis on 18 Jan 2016
// Copyright 2016 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
import QtQuick 2.5
import QtQuick.Controls 1.4 as Original
import "../../controls-uit"
Preference {
id: root
@ -9,8 +20,9 @@ Preference {
function save() { }
Original.Button {
Button {
id: button
onClicked: preference.trigger()
width: 180
}
}