author | zecke <zecke> | 2004-08-02 19:58:09 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-08-02 19:58:09 (UTC) |
commit | 1e8f0e771789b353ab025320dcb845818ed3d977 (patch) (side-by-side diff) | |
tree | f6b02187a54d460f6b75251a44c5e9b764b302bf /noncore/styles | |
parent | afec356b8cbbda815308fb5fe8e277737e0ca32c (diff) | |
download | opie-1e8f0e771789b353ab025320dcb845818ed3d977.zip opie-1e8f0e771789b353ab025320dcb845818ed3d977.tar.gz opie-1e8f0e771789b353ab025320dcb845818ed3d977.tar.bz2 |
Make CheckBox a bit smaller
-rw-r--r-- | noncore/styles/web/webstyle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/styles/web/webstyle.cpp b/noncore/styles/web/webstyle.cpp index 10d9791..cd3cf08 100644 --- a/noncore/styles/web/webstyle.cpp +++ b/noncore/styles/web/webstyle.cpp @@ -25,25 +25,25 @@ #include <qpalette.h> #include <qbitmap.h> #include <qtabbar.h> #include <qpointarray.h> #include <qscrollbar.h> #include <qframe.h> #include <qpushbutton.h> #include <qdrawutil.h> #include <qpainter.h> #include "webstyle.h" -static const int _indicatorSize = 13; +static const int _indicatorSize = 9; static QButton * _highlightedButton = 0; static const int _scrollBarExtent = 12; static QFrame * _currentFrame = 0; static int _savedFrameLineWidth; static int _savedFrameMidLineWidth; static ulong _savedFrameStyle; static QColor contrastingForeground(const QColor & fg, const QColor & bg) { int h, s, vbg, vfg; @@ -712,25 +712,25 @@ WebStyle::drawIndicator if (state == QButton::NoChange) { p->fillRect(x + 4, y + 4, w - 8, h - 8, g.background()); } } p->restore(); } QSize WebStyle::exclusiveIndicatorSize() const { - return QSize(_indicatorSize, _indicatorSize); + return QSize(_indicatorSize+2, _indicatorSize+2); } void WebStyle::drawExclusiveIndicator ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool on, |