diff options
author | Jens Bache-Wiig <jbache@trolltech.com> | 2009-04-20 15:03:14 (GMT) |
---|---|---|
committer | Jens Bache-Wiig <jbache@trolltech.com> | 2009-04-20 15:09:14 (GMT) |
commit | d7072b5577e3c07e984885cf05d5f9b217c6f473 (patch) | |
tree | d40cc0c71e15d482feb411b169a986c6940308f6 /translations | |
parent | 68d6a91fd2db9ec95d9f46e7af10eff7da89f8f0 (diff) | |
download | Qt-d7072b5577e3c07e984885cf05d5f9b217c6f473.zip Qt-d7072b5577e3c07e984885cf05d5f9b217c6f473.tar.gz Qt-d7072b5577e3c07e984885cf05d5f9b217c6f473.tar.bz2 |
Fix tabbar issues with Oxygen style
Oxygen style was looking a bit broken when using 4.5 features such as
close buttons and icons. This was because it re-implements the
tabbartablabel primitive we needed to ensure spacing for the buttons.
We had to modify the way we draw tabs slightly to make it more backward
compatible so that oxygen get the same region as before and we ensure
space for it in the CE_TabBarTab case instead. Note that the drawback
to this approach is that the focus rect needs to be moved out of the
tablabel and into the CE_TabBarTab case so it covers the entire tab
which can potentially cause problems if people depend on the label to
draw the focus rect. However the new case is also more consistent with
how buttons draw their focus.
Task-number: 251635
Reviewed-by: nrc
Diffstat (limited to 'translations')
0 files changed, 0 insertions, 0 deletions