office-gobmx/svtools
László Németh b285cf49df tdf#157833 tdf#155692 sw: fix hit area to resize row/col
Fix 1) missing or too narrow hit area (tdf#157833),
and 2) not recognized click inside hit area (tdf#155692).

It was impossible or very hard to resize text table
columns and rows using the mouse:

1) Double arrow, i.e. "resize row/col" mouse pointer shows
the hit area of text table row/column borders. This was
missing or was very narrow with normal zoom, because of an
obsolete constant for low resolution displays.
Change this constant used in IsSame() with scale-dependent
values to support the same hit area on different zoom levels
and with different screen resolutions.

2) Especially on bigger zoom, "resize row/col" mouse pointer,
i. e. the visible hit area didn't guarantee drag & drop any
more because of too small hit area in pixels in the svruler
code base: clicking on not exactly center of the hit area
resulted selection of cells or the cell content instead of
drag & drop the border, violating WYSIWYG. Enlarge the default
1 pixel to 5 pixels to cover the whole hit area. Note:
only for resizing table borders inside the document, not on
the horizontal and vertical rulers.

Change-Id: I398a0de782040b0ad18835658ed625117a6e0e06
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168605
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2024-06-10 23:22:20 +02:00
..
inc Resolves: tdf#160256 Add "[Multiple]" and "[Undetermined]" to language list 2024-04-12 12:06:28 +02:00
langsupport
qa loplugin:ostr in svtools 2024-05-13 19:13:53 +02:00
source tdf#157833 tdf#155692 sw: fix hit area to resize row/col 2024-06-10 23:22:20 +02:00
uiconfig/ui RESTART_REASON_MSCOMPATIBLE_FORMS_MENU is dead 2024-04-04 19:58:23 +02:00
util
AllLangMoTarget_svt.mk
CppunitTest_svtools_dialogs_test.mk Remove unused headers found by bin/find-unusedheaders.sh 2023-12-24 11:50:41 +01:00
CppunitTest_svtools_graphic.mk Use less libxml2 external headers dependency 2023-09-29 00:20:57 +02:00
CppunitTest_svtools_html.mk
Executable_langsupport.mk Remove unused headers found by bin/find-unusedheaders.sh 2023-12-24 11:50:41 +01:00
IwyuFilter_svtools.yaml
JunitTest_svtools_unoapi.mk
Library_svt.mk Drop now unused SvtSlideSorterBarOptions class 2024-01-03 15:38:17 +01:00
Makefile
Module_svtools.mk
README.md
UIConfig_svt.mk

Tools on the Top of VCL

Common dialogs, file and print dialogs, wizards, vcl filters, lots of helper code.