diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-07-04 09:19:35 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-07-04 10:08:30 +0200 |
commit | 0203485a7f7dd85f8d3e04ce91579051aa89d26a (patch) | |
tree | 91e148036c279a736943c946496ef80d1b6bd260 /accessibility/source/standard/vclxaccessibletabcontrol.cxx | |
parent | 6952be913510c63716940648a06163c19622187e (diff) |
sw content controls, checkbox: reduce left vs right amount of shading mismatch
This was a visual problem with all content controls, but most visible
with short ones, like checkbox.
A content control's layout starts with a field portion (shaded),
followed by a content control portion (also shaded). The shading around
the checkbox character is not balanced, the left side has more shading.
Half of the additional shading is caused by shading for the field
portion: avoid this in case we know where will be a content control
portion after the field portion.
The result is not perfect, but the left/right mismatch for the amount of
shading around the checkbox is much better this way.
Change-Id: I147d23c43e679113c84c21fbfc0c8ac1ca9e51b6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136792
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'accessibility/source/standard/vclxaccessibletabcontrol.cxx')
0 files changed, 0 insertions, 0 deletions