summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-10-07 19:53:56 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-10-08 12:42:21 +0200
commita44c77d6548fac62f760ae152ddc09381d005129 (patch)
treeee390adc7dd081a824fb27ea76599e486a9e6370
parent457a67a5b692e79db1aea775e0a2eb48bf1dbdfa (diff)
tdf#144984 default edit width got wider
at... commit f72013ca65c7a33991d5fb124b919fe7cde269e2 Author: Caolán McNamara <caolanm@redhat.com> Date: Thu Aug 26 15:24:25 2021 +0100 use max of avg digit or 'average char' width to measure Edit space where this default was forgotten Change-Id: I50933ff5c1b8735624609a884fb9fc7701df7f97 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123232 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/source/window/builder.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index b29d58455f5f..45237e03fb83 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -2256,7 +2256,7 @@ namespace BuilderUtils
OString sWidthChars("width-chars");
VclBuilder::stringmap::iterator aFind = rMap.find(sWidthChars);
if (aFind == rMap.end())
- rMap[sWidthChars] = "25";
+ rMap[sWidthChars] = "20";
}
bool extractDropdown(VclBuilder::stringmap &rMap)