From 959be1b5a9cd522394dba9366686a1256588223b Mon Sep 17 00:00:00 2001 From: Justin Luth Date: Thu, 6 Jul 2017 19:29:00 -0400 Subject: 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 Reviewed-by: Heiko Tietze --- officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'officecfg') diff --git a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu index 20704835e0f7..cf0e0cb1f400 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu @@ -2078,6 +2078,11 @@ In ~Background + + + In ~Background + + To Begin of Previous Column -- cgit