mirror of
https://github.com/lubosz/overte.git
synced 2025-04-14 14:46:55 +02:00
Style path and filter controls
This commit is contained in:
parent
43ee64c251
commit
663a2ddc64
2 changed files with 16 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
// Desktop.qml
|
||||
// FileDialog.qml
|
||||
//
|
||||
// Created by Bradley Austin Davis on 14 Jan 2016
|
||||
// Copyright 2015 High Fidelity, Inc.
|
||||
|
@ -195,7 +195,7 @@ ModalWindow {
|
|||
left: parent.left
|
||||
right: parent.right
|
||||
bottom: currentSelection.top
|
||||
bottomMargin: hifi.dimensions.contentSpacing.y
|
||||
bottomMargin: hifi.dimensions.contentSpacing.y + currentSelection.controlHeight - currentSelection.height
|
||||
}
|
||||
onDoubleClicked: navigateToRow(row);
|
||||
focus: true
|
||||
|
@ -293,11 +293,11 @@ ModalWindow {
|
|||
|
||||
TextField {
|
||||
id: currentSelection
|
||||
style: TextFieldStyle { renderType: Text.QtRendering }
|
||||
label: "Path:"
|
||||
anchors {
|
||||
left: parent.left
|
||||
right: root.selectDirectory ? parent.right : selectionType.left
|
||||
rightMargin: hifi.dimensions.contentSpacing.x
|
||||
rightMargin: root.selectDirectory ? 0 : hifi.dimensions.contentSpacing.x
|
||||
bottom: buttonRow.top
|
||||
bottomMargin: hifi.dimensions.contentSpacing.y
|
||||
}
|
||||
|
|
|
@ -1,8 +1,18 @@
|
|||
//
|
||||
// FileTypeSelection.qml
|
||||
//
|
||||
// Created by Bradley Austin Davis on 29 Jan 2016
|
||||
// Copyright 2015 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 "../../controls" as VrControls
|
||||
import "../../controls-uit"
|
||||
|
||||
VrControls.ComboBox {
|
||||
ComboBox {
|
||||
id: root
|
||||
property string filtersString: "All Files (*.*)";
|
||||
property var currentFilter: [ "*.*" ];
|
||||
|
|
Loading…
Reference in a new issue