diff options
author | Alessandro Portale <alessandro.portale@nokia.com> | 2010-03-22 20:36:54 (GMT) |
---|---|---|
committer | Alessandro Portale <alessandro.portale@nokia.com> | 2010-03-22 20:36:54 (GMT) |
commit | 9b363e44f372fee183290e010ceecf9e75282ce2 (patch) | |
tree | 62fcfbd20da0121affc86617aadd5435a45c67e0 /src/gui | |
parent | a260a77d9d6b7856278e2ee9b42623c469479d4e (diff) | |
download | Qt-9b363e44f372fee183290e010ceecf9e75282ce2.zip Qt-9b363e44f372fee183290e010ceecf9e75282ce2.tar.gz Qt-9b363e44f372fee183290e010ceecf9e75282ce2.tar.bz2 |
Increase KeypadNavigation focus visibility
The focus frame was drawn with a low opacity. That was intended meant
to increase aesthetics but in reality decreased usability. Now,
the opacity is higher. But still with a difference between navigation
mode and edit mode.
Task-number: QT-826
Reviewed-by: Sami Merila
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/styles/qs60style.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/styles/qs60style.cpp b/src/gui/styles/qs60style.cpp index 86812a6..6448417 100644 --- a/src/gui/styles/qs60style.cpp +++ b/src/gui/styles/qs60style.cpp @@ -1970,9 +1970,9 @@ void QS60Style::drawControl(ControlElement element, const QStyleOption *option, if (focusFrame->widget() && focusFrame->widget()->hasEditFocus()) editFocus = true; } - const qreal opacity = editFocus ? 0.65 : 0.45; // Trial and error factors. Feel free to improve. + const qreal opacity = editFocus ? 1 : 0.75; // Trial and error factors. Feel free to improve. #else - const qreal opacity = 0.5; + const qreal opacity = 0.85; #endif // We need to reduce the focus frame size if LayoutSpacing is smaller than FocusFrameMargin // Otherwise, we would overlay adjacent widgets. |