qml: cosmetic changes
This commit is contained in:
@@ -147,11 +147,8 @@ Item {
|
||||
Component.onCompleted: {
|
||||
console.log('Scan page initialized')
|
||||
QtMultimedia.availableCameras.forEach(function(item) {
|
||||
console.log('cam found')
|
||||
console.log(item.deviceId)
|
||||
console.log(item.displayName)
|
||||
console.log(item.position)
|
||||
console.log(item.orientation)
|
||||
console.log('cam found, id=' + item.deviceId + ' name=' + item.displayName)
|
||||
console.log('pos=' + item.position + ' orientation=' + item.orientation)
|
||||
if (QtMultimedia.defaultCamera.deviceId == item.deviceId) {
|
||||
vo.orientation = item.orientation
|
||||
}
|
||||
|
||||
@@ -6,6 +6,9 @@ import QtQuick.Controls.Material 2.0
|
||||
Pane {
|
||||
topPadding: constants.paddingSmall
|
||||
bottomPadding: constants.paddingSmall
|
||||
leftPadding: constants.paddingSmall
|
||||
rightPadding: constants.paddingSmall
|
||||
|
||||
background: Rectangle {
|
||||
color: Qt.lighter(Material.background, 1.15)
|
||||
radius: constants.paddingSmall
|
||||
|
||||
Reference in New Issue
Block a user