diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-11-09 00:08:44 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-11-09 19:05:18 +0100 |
commit | 99b465fc3c1f4b30182d56e4b1781218bd5a66f2 (patch) | |
tree | 583f9a9578a2849a943f7917109c146d34346a2f /vcl/inc | |
parent | c74924f0fe28229518172ca8f6410d9f7fe373b7 (diff) |
tdf#130857 qt weld: Implement QtInstanceWidget::get_approximate_digit_width
Similar to how OutputDevice::approximate_digit_width, used
by SalInstanceWidget::get_approximate_digit_width does it,
get the width for all a text containing all of of the 10 digits
and divide by 10 to get the average/approximate width of a digit.
This method e.g. gets called by the print progress dialog.
Change-Id: Ib1779a0a211f571c10714a291fed8f84ae5906ee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176306
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
Diffstat (limited to 'vcl/inc')
0 files changed, 0 insertions, 0 deletions