mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 13:49:23 +02:00
Don't show header or dates and sizes when choosing a directory
This commit is contained in:
parent
d798e562fc
commit
7be33a8584
1 changed files with 4 additions and 2 deletions
|
@ -196,7 +196,7 @@ ModalWindow {
|
||||||
bottom: currentSelection.top
|
bottom: currentSelection.top
|
||||||
bottomMargin: hifi.dimensions.contentSpacing.y + currentSelection.controlHeight - currentSelection.height
|
bottomMargin: hifi.dimensions.contentSpacing.y + currentSelection.controlHeight - currentSelection.height
|
||||||
}
|
}
|
||||||
headerVisible: true
|
headerVisible: !selectDirectory
|
||||||
onDoubleClicked: navigateToRow(row);
|
onDoubleClicked: navigateToRow(row);
|
||||||
focus: true
|
focus: true
|
||||||
Keys.onReturnPressed: navigateToCurrentRow();
|
Keys.onReturnPressed: navigateToCurrentRow();
|
||||||
|
@ -275,7 +275,7 @@ ModalWindow {
|
||||||
id: fileNameColumn
|
id: fileNameColumn
|
||||||
role: "fileName"
|
role: "fileName"
|
||||||
title: "Name"
|
title: "Name"
|
||||||
width: 0.5 * fileTableView.width
|
width: (selectDirectory ? 1.0 : 0.5) * fileTableView.width
|
||||||
resizable: true
|
resizable: true
|
||||||
}
|
}
|
||||||
TableViewColumn {
|
TableViewColumn {
|
||||||
|
@ -284,12 +284,14 @@ ModalWindow {
|
||||||
title: "Date"
|
title: "Date"
|
||||||
width: 0.3 * fileTableView.width
|
width: 0.3 * fileTableView.width
|
||||||
resizable: true
|
resizable: true
|
||||||
|
visible: !selectDirectory
|
||||||
}
|
}
|
||||||
TableViewColumn {
|
TableViewColumn {
|
||||||
role: "fileSize"
|
role: "fileSize"
|
||||||
title: "Size"
|
title: "Size"
|
||||||
width: fileTableView.width - fileNameColumn.width - fileMofifiedColumn.width
|
width: fileTableView.width - fileNameColumn.width - fileMofifiedColumn.width
|
||||||
resizable: true
|
resizable: true
|
||||||
|
visible: !selectDirectory
|
||||||
}
|
}
|
||||||
|
|
||||||
function navigateToRow(row) {
|
function navigateToRow(row) {
|
||||||
|
|
Loading…
Reference in a new issue