diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2018-11-09 14:09:09 +0200 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2018-11-12 07:19:07 +0000 |
commit | 4b4ed3262fafc93fe510f27f09fa45393eb14852 (patch) | |
tree | a5c83216c0ca5c9f82b1c1a5a29591fbbf695a40 /src | |
parent | a58c709598971d162ede34c7e506c713c4421235 (diff) |
Update RegionSelect filter box appearance
Make the text field appear more like the guidelines suggests.
Without the padding, the text was partially covered by the
background rectangle.
Change-Id: Iece9990b2f8caa36bd947157ba8314a08aea3592
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/settingsui/locale/RegionSelect.qml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/settingsui/locale/RegionSelect.qml b/src/settingsui/locale/RegionSelect.qml index cfa5e15..d27eb2a 100644 --- a/src/settingsui/locale/RegionSelect.qml +++ b/src/settingsui/locale/RegionSelect.qml @@ -109,18 +109,22 @@ Item { id: country Layout.preferredWidth: root.width * 0.5 font.pixelSize: pluginMain.valueFontSize + leftPadding: pluginMain.margin + rightPadding: pluginMain.margin + bottomPadding: 6 + topPadding: 6 color: "white" text: "" placeholderText: "Search..." placeholderTextColor: "white" font.family: appFont - font.styleName: "Light" + font.styleName: "Regular" onTextChanged: LocaleFilter.filter = country.text Layout.alignment: Qt.AlignVCenter background: Rectangle { color: "transparent" border.color: viewSettings.borderColor - border.width: 2 + border.width: 1 } } |