aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2018-08-05 19:36:17 +0200
committerSander Ferdinand <sa.ferdinand@gmail.com>2018-08-05 20:56:39 +0200
commit3d7090bdbaaaa8706f4bb7bae10de237743f1fc7 (patch)
tree52a22837a611d6d699942ea01ceabf6bd4c7626e
parenteef3f8a3ac5a506a5a0d405ac253185ce6cdd270 (diff)
downloadmonzero-gui-3d7090bdbaaaa8706f4bb7bae10de237743f1fc7.tar.gz
monzero-gui-3d7090bdbaaaa8706f4bb7bae10de237743f1fc7.tar.xz
monzero-gui-3d7090bdbaaaa8706f4bb7bae10de237743f1fc7.zip
Fixes a layout bug for SettingsLog.qml
-rw-r--r--pages/settings/SettingsLog.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/pages/settings/SettingsLog.qml b/pages/settings/SettingsLog.qml
index 99ba0b95..099a07f9 100644
--- a/pages/settings/SettingsLog.qml
+++ b/pages/settings/SettingsLog.qml
@@ -41,6 +41,7 @@ Rectangle {
}
GridLayout {
+ id: logGrid
columns: appWindow.persistentSettings.logLevel === 5 ? 2 : 1
Layout.fillWidth: true
columnSpacing: 32 * scaleRatio
@@ -77,6 +78,7 @@ Rectangle {
appWindow.persistentSettings.logLevel = currentIndex;
}
Layout.fillWidth: true
+ Layout.maximumWidth: logGrid.width / 2
shadowReleasedColor: "#FF4304"
shadowPressedColor: "#B32D00"
releasedColor: "#363636"
@@ -88,9 +90,11 @@ Rectangle {
id: logCategories
visible: persistentSettings.logLevel === 5
Layout.fillWidth: true
+ Layout.maximumWidth: logGrid.width / 2
text: appWindow.persistentSettings.logCategories
placeholderText: "(e.g. *:WARNING,net.p2p:DEBUG)"
placeholderFontSize: 14 * scaleRatio
+ fontSize: 14 * scaleRatio
enabled: logLevelDropdown.currentIndex === 5
onEditingFinished: {
if(enabled) {
@@ -191,7 +195,7 @@ Rectangle {
id: sendCommandText
Layout.fillWidth: true
fontBold: false
- placeholderText: qsTr("command + enter (e.g help)") + translationManager.emptyString
+ placeholderText: qsTr("command + enter (e.g 'help' or 'status')") + translationManager.emptyString
placeholderFontSize: 16 * scaleRatio
onAccepted: {
if(text.length > 0) {