summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/oslendian.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-04-29 12:59:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-04-29 22:10:19 +0200
commit15652c6cdfe62486d9f0e5f76de624c631f5cc24 (patch)
tree7680879353777a8801f3750651b68aced350a022 /compilerplugins/clang/oslendian.cxx
parent740af1cf9be661b6074e4ce69c41cfba56853a2b (diff)
tdf#132338 better match the original width of the font name combobox
using entry_width_chars to specify how much characters in the Entry to use to show the font name makes the most logical sense. Doing that would make the widget wider under gtk that is currently is, which is arguably too narrow, but being wider would probably mean some toolbar contents wouldn't fit on small screens generating complaint churn. So, match the original width using LogicToPixel rather than get_approximate_digit_width where the latter uses the width of the widest digit in the font, and the former uses 1/8th the width of "aemnnxEM" Change-Id: I1bb6970faa6fc34830681902640fe1f61e3cc55e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93151 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'compilerplugins/clang/oslendian.cxx')
0 files changed, 0 insertions, 0 deletions