aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2018-08-06 09:57:13 +0200
committerSander Ferdinand <sa.ferdinand@gmail.com>2018-08-06 09:57:13 +0200
commit034f83bfb3982bce8203fbda933248810f673868 (patch)
tree450d8e312b30418ecfdadfff204a04101a586916
parent0a3d75d197dbc6fd8a5dfd056f3b91cb2d90791b (diff)
downloadmonzero-gui-034f83bfb3982bce8203fbda933248810f673868.tar.gz
monzero-gui-034f83bfb3982bce8203fbda933248810f673868.tar.xz
monzero-gui-034f83bfb3982bce8203fbda933248810f673868.zip
Fixes a SettingsLog layout bug
-rw-r--r--pages/settings/SettingsLog.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/settings/SettingsLog.qml b/pages/settings/SettingsLog.qml
index 6d05d824..d43c1dd1 100644
--- a/pages/settings/SettingsLog.qml
+++ b/pages/settings/SettingsLog.qml
@@ -106,7 +106,7 @@ Rectangle {
appWindow.persistentSettings.logLevel = currentIndex;
}
Layout.fillWidth: true
- Layout.maximumWidth: logGrid.width / 2
+ Layout.preferredWidth: logGrid.width / 2
shadowReleasedColor: "#FF4304"
shadowPressedColor: "#B32D00"
releasedColor: "#363636"
@@ -118,7 +118,7 @@ Rectangle {
id: logCategories
visible: persistentSettings.logLevel === 5
Layout.fillWidth: true
- Layout.maximumWidth: logGrid.width / 2
+ Layout.preferredWidth: logGrid.width / 2
text: appWindow.persistentSettings.logCategories
placeholderText: "(e.g. *:WARNING,net.p2p:DEBUG)"
placeholderFontSize: 14 * scaleRatio