summaryrefslogtreecommitdiff
path: root/sw/UITest_sw_findBar.mk
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2023-11-08 08:25:23 +0100
committerMiklos Vajna <vmiklos@collabora.com>2023-11-08 10:17:09 +0100
commit0ecb69d53864b582eb59533729ada01d85d383e6 (patch)
tree50327d15a732528af8935a286c2819d690ddf1fd /sw/UITest_sw_findBar.mk
parent4261f337b647bd504c9500f23fbb0cdd90a2d50e (diff)
sw floattable, insert UI: inherit fly width from selected table width
Inline table width defaults to the body frame width, so a hardcoded 2cm default for the fly width is a bit poor. Leave the normal fly insert case unchanged, but if an entire table is selected, then change the default to the table width. Check for the table selection like SwFEShell::NewFlyFrame() does it, and determine if the entire table is selected like SwDoc::MakeFlyAndMove() does it. With this, a default table with a default frame keeps its width on frame insert. Change-Id: Iaf954395a4799222074acd83b5eae52ca75ae0ae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159104 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/UITest_sw_findBar.mk')
0 files changed, 0 insertions, 0 deletions