mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-29 04:14:52 +03:00
optimizations and visible fixes
This commit is contained in:
parent
6777dda82c
commit
ff0a6ab745
@ -89,7 +89,7 @@ Flickable {
|
||||
Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter
|
||||
id: rememberPasswordCheckBox
|
||||
text: qsTr("Remember password")
|
||||
description: qsTr("Don't ask agan on this device.")
|
||||
description: qsTr("Don't ask again on this device.")
|
||||
KeyNavigation.backtab: passwordField.textField
|
||||
KeyNavigation.tab: unlockBtn
|
||||
Layout.bottomMargin: 32
|
||||
|
@ -18,32 +18,24 @@ Pane {
|
||||
Layout.fillWidth: true
|
||||
Layout.maximumWidth: dynamicWidth + dynamicMargin
|
||||
spacing: 0
|
||||
Layout.margins: 0
|
||||
visible: {
|
||||
if (toolBar.searchField.text.length > 0) {
|
||||
for (var i = 0; i < children.length; ++i) {
|
||||
if (!!children[i] && children[i].toString().startsWith("SettingsPanel") && children[i].visible) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
topPadding: 0
|
||||
bottomPadding: 0
|
||||
|
||||
ColumnLayout {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
width: app.width - dynamicMargin < dynamicWidth ? app.width - dynamicMargin : dynamicWidth
|
||||
width: parent.width
|
||||
spacing: 8
|
||||
|
||||
RowLayout {
|
||||
Label {
|
||||
id: containerLabel
|
||||
visible: inner_space.visibleChildren.length > 1
|
||||
Layout.alignment: Qt.AlignLeft | Qt.AlignTop
|
||||
text: title
|
||||
color: Material.primary
|
||||
font.pixelSize: 14
|
||||
font.weight: Font.Medium
|
||||
topPadding: 8
|
||||
topPadding: 24
|
||||
bottomPadding: 8
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ Pane {
|
||||
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
Layout.alignment: Qt.AlignLeft | Qt.AlignTop
|
||||
width: parent.width - dynamicMargin < dynamicWidth ? parent.width - dynamicMargin : dynamicWidth
|
||||
width: parent.width - dynamicMargin
|
||||
spacing: 16
|
||||
|
||||
RowLayout {
|
||||
|
Loading…
Reference in New Issue
Block a user