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 /officecfg | |
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 'officecfg')
-rw-r--r-- | officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ <value xml:lang="en-US">In ~Background</value> </prop> </node> + <node oor:name=".uno:WrapThroughTransparencyToggle" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">In ~Background</value> + </prop> + </node> <node oor:name=".uno:GoToStartOfPrevColumn" oor:op="replace"> <prop oor:name="Label" oor:type="xs:string"> <value xml:lang="en-US">To Begin of Previous Column</value> |