diff options
author | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2009-12-11 19:19:53 (GMT) |
---|---|---|
committer | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2009-12-18 14:07:15 (GMT) |
commit | d4005e273d4285d0b6a9c60f712cfd12c311c3a3 (patch) | |
tree | abf2c2e2e1b930608a725edb690a3163f7c3def0 /src/gui/dialogs/qfontdialog.h | |
parent | 8cb83f37cc2e95002b44b48e851ec7672fb95df2 (diff) | |
download | Qt-d4005e273d4285d0b6a9c60f712cfd12c311c3a3.zip Qt-d4005e273d4285d0b6a9c60f712cfd12c311c3a3.tar.gz Qt-d4005e273d4285d0b6a9c60f712cfd12c311c3a3.tar.bz2 |
Focus frames in mac style gets clipped.
The focus frame on mac is a separate widget. The parent of the focus
frame is same as the parent of the widget who has the focus. So if
there is not enough room for a focus frame between the parent and
the widget, it gets clipped to the parent.
This parent is now changed to the nearest (in hierarchy) top level,
toolbar or scrollarea-viewport. A clip area is set on the focus
frame widget based on the visible region of the widget. This
reduces the chances of having clipped focus frames. It is always
better to leave enough margin for widgets which shows focus frames.
Task-number: 6567
Reviewed-by: Richard Moe Gustavsen
Reviewed-by: Jan-Arve
Diffstat (limited to 'src/gui/dialogs/qfontdialog.h')
0 files changed, 0 insertions, 0 deletions