diff options
author | Justin Luth <justin_luth@sil.org> | 2017-07-06 19:29:00 -0400 |
---|---|---|
committer | Heiko Tietze <tietze.heiko@googlemail.com> | 2017-07-10 23:15:28 +0200 |
commit | 959be1b5a9cd522394dba9366686a1256588223b (patch) | |
tree | ac6661cd4fdcefe9e9f2bb6f2cdfd749dfd86453 /sw/uiconfig/swxform/menubar | |
parent | e8fcb1fbd365b7c6104c7941abee07a612ba7813 (diff) |
UI Wrap InBackground: transition to wrapthru transparency toggle
The UI for placing a frame in the background is confusing because:
-in menus, the icon looks like a checkbox, but functions as a radio button
-it isn't obvious that "in background" is the opposite of "wrap through"
-it doesn't act like the checkboxes below it like "First paragraph"
-in dialog boxes, it is actually implemented as a checkbox toggle.
So it looks like a checkbox, and you can enable the checkbox, but
once enabled it can never be disabled. (The currently designed way is to
select wrap off/page/optimal/through in order to disable in background.)
This patch creates FN_FRAME_WRAPTHRU_TOGGLE to replace
most uses of the previous function.
Change-Id: Ia46ddbd47899e8ca569bf3adb2b1c4ad7cfa1920
Reviewed-on: https://gerrit.libreoffice.org/39673
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com>
Diffstat (limited to 'sw/uiconfig/swxform/menubar')
-rw-r--r-- | sw/uiconfig/swxform/menubar/menubar.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/uiconfig/swxform/menubar/menubar.xml b/sw/uiconfig/swxform/menubar/menubar.xml index d3534b91a531..f4b58ebe8b1b 100644 --- a/sw/uiconfig/swxform/menubar/menubar.xml +++ b/sw/uiconfig/swxform/menubar/menubar.xml @@ -287,7 +287,7 @@ <menu:menuitem menu:id=".uno:WrapOn"/> <menu:menuitem menu:id=".uno:WrapIdeal"/> <menu:menuitem menu:id=".uno:WrapThrough"/> - <menu:menuitem menu:id=".uno:WrapThroughTransparent"/> + <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/> <menu:menuseparator/> <menu:menuitem menu:id=".uno:WrapContour"/> <menu:menuitem menu:id=".uno:ContourDialog"/> |