mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 18:35:32 +02:00
Style scripts section
This commit is contained in:
parent
a25702535b
commit
513bc5d4ef
2 changed files with 15 additions and 3 deletions
|
@ -18,7 +18,7 @@ Original.Button {
|
|||
id: button
|
||||
property int color: 0
|
||||
width: 120
|
||||
height: 30
|
||||
height: 28
|
||||
|
||||
style: ButtonStyle {
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue