Mipmap images; better padding

This commit is contained in:
Zach Fox 2019-08-19 10:32:08 -07:00
parent 3de9f44bf3
commit 2b86947d4a
4 changed files with 13 additions and 7 deletions

View file

@ -17,7 +17,7 @@ Item {
property int column1Width: 80
property int column2Width: width - column1Width
property int rowHeight: 31
property int rowPadding: 4
property int rowPadding: 8
property int mainTextSize: 18
property int subTextSize: 14
property color separatorColor: "#CCCCCC"

View file

@ -81,7 +81,7 @@ Flickable {
}
SimplifiedControls.Button {
Layout.topMargin: 8
Layout.topMargin: 14
Layout.preferredWidth: 200
height: 32
text: "VIEW ALL CONTROLS"

View file

@ -176,6 +176,7 @@ Rectangle {
anchors.left: parent.left
width: parent.width
height: parent.parent.height
mipmap: true
}
ColorOverlay {

View file

@ -245,6 +245,7 @@ Rectangle {
width: outputDeviceButton.outputMuted ? 25 : 26
height: 22
visible: false
mipmap: true
}
ColorOverlay {
@ -319,6 +320,7 @@ Rectangle {
anchors.centerIn: parent
width: statusButton.currentStatus === "busy" ? 13 : 14
height: statusButton.currentStatus === "busy" ? 2 : 10
mipmap: true
}
ColorOverlay {
@ -353,18 +355,19 @@ Rectangle {
id: hmdButtonContainer
anchors.verticalCenter: parent.verticalCenter
anchors.right: helpButtonContainer.left
anchors.rightMargin: 8
anchors.rightMargin: 3
width: 48
height: width
visible: false
Image {
id: displayModeImage
source: HMD.active ? "./images/desktopMode.svg" : "./images/vrMode.svg"
source: HMD.active ? "images/desktopMode.svg" : "images/vrMode.svg"
anchors.centerIn: parent
width: HMD.active ? 25 : 26
height: HMD.active ? 22 : 14
visible: false
mipmap: true
}
ColorOverlay {
@ -421,17 +424,18 @@ Rectangle {
id: helpButtonContainer
anchors.verticalCenter: parent.verticalCenter
anchors.right: settingsButtonContainer.left
anchors.rightMargin: 3
anchors.rightMargin: 4
width: 36
height: width
Image {
id: helpButtonImage
source: "./images/questionMark.svg"
source: "images/questionMark.svg"
anchors.centerIn: parent
width: 13
height: 22
visible: false
mipmap: true
}
ColorOverlay {
@ -470,11 +474,12 @@ Rectangle {
Image {
id: settingsButtonImage
source: "./images/settings.svg"
source: "images/settings.svg"
anchors.centerIn: parent
width: 22
height: 22
visible: false
mipmap: true
}
ColorOverlay {