diff options
author | Sami Merila <sami.merila@nokia.com> | 2010-03-25 10:50:48 (GMT) |
---|---|---|
committer | Sami Merila <sami.merila@nokia.com> | 2010-03-25 10:50:48 (GMT) |
commit | 80cf88a395d61c2dee83d484c91f24437be0c0e0 (patch) | |
tree | 92f972c268f34fafb3251d4e0d7e207d6f18e9f9 /util/lexgen/nfa.cpp | |
parent | 126849067d3c9d126606afaacecfef5559c2e657 (diff) | |
download | Qt-80cf88a395d61c2dee83d484c91f24437be0c0e0.zip Qt-80cf88a395d61c2dee83d484c91f24437be0c0e0.tar.gz Qt-80cf88a395d61c2dee83d484c91f24437be0c0e0.tar.bz2 |
QMessageBox is smaller than native MessageBox
Messageboxes are smaller than native ones.
This is due to that native ones have a lot of empty space.
To fix this, we define a new custom pixel metrics that is the minimum
height of one text line messagebox (aka AknPopUp) on the native side.
Then we ensure that the QMessageBox is at least of this height.
Additionally we do some minor styling for QMessageBox:
- the corners graphics are now as rounded as on native side
- the font is set to match the native side
- the top margin space is doubled for dialogs, which is rather good
approximation of native side
Task-number: QTBUG-4875
Reviewed-by: Janne Anttila
Diffstat (limited to 'util/lexgen/nfa.cpp')
0 files changed, 0 insertions, 0 deletions