Marco Martin
850ed6dd0a
make scrollbar size configurable
...
Summary:
make scrollbars size configurable with an enum, letting 3
allowed values, small, medium, large preferring it over
letting the user fiddle with pixel values
the default now is a tiny scrollbar.
(that can be done instead if needed)
Test Plan:
tried the 3 different values and checked that it updates
on the fly
Reviewers: #plasma, #vdg, hpereiradacosta
Reviewed By: hpereiradacosta
Subscribers: colomar, alex-l, plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D3210
9 years ago
Allen Winter
e680af39da
kstyle/breeze.h - pedantic
10 years ago
Hugo Pereira Da Costa
5dc36a4eec
added proper margin around toolbox tabs
11 years ago
Hugo Pereira Da Costa
9572ab8a4d
reduce size of checkbox and radiobuttons; reduced spacing between mark and text.
11 years ago
Hugo Pereira Da Costa
3230d9f7d7
- Changed menu rendering to remove margin between selection rect and frame
...
- Properly round menu item selection for first and last item in menu, to not overlap with menu rounding.
- Added suttle outline around focus rect in menus
11 years ago
Hugo Pereira Da Costa
61a2077e91
align shadow rendering to window decoration
11 years ago
Hugo Pereira Da Costa
f1fee30bb9
MenuItem spacing -> 3px
...
ListItem spacing -> 3px
CCMAIL: jamboarder@gmail.com
11 years ago
Hugo Pereira Da Costa
af0e0344da
decrease spacing between checkbox/radiobutton mark and text 8 -> 6 px
...
CCMAIL: jamboarder@gmail.com
11 years ago
Hugo Pereira Da Costa
b4872a31bb
removed commented line
11 years ago
Hugo Pereira Da Costa
2ff1209d33
Reduce margins for list headers and menubars from 8px down to 6px
...
CCMAIL: jamboarder@gmail.com
11 years ago
Hugo Pereira Da Costa
4fca8df681
- cleanup tab buttons positioning
...
- center icon in tabs when there is no text and no buttons
BUG: 340257
12 years ago
Hugo Pereira Da Costa
bc0c9baf29
Reduced margins of line editors so that the total height matches buttons
...
CCMAIL: jamboarder@gmail.com
12 years ago
Hugo Pereira Da Costa
950ba30a0b
Reduced margins of line editors so that the total height matches buttons
...
CCMAIL: jamboarder@gmail.com
12 years ago
Hugo Pereira Da Costa
6e8bc15bdb
reduced checkbox and radio button size
...
use 1pixel for outline and 2pixel for radius
CCMAIL: jamboarder@gmail.com
12 years ago
Hugo Pereira Da Costa
6b4c9d8abb
reduced checkbox and radio button size
...
use 1pixel for outline and 2pixel for radius
CCMAIL: jamboarder@gmail.com
12 years ago
Hugo Pereira Da Costa
973efd4de6
restored topLevel layout margins
...
removed call to genericLayoutItemRect
This effectively revert commits 739b18f4b3 and
3618ba5ed5
12 years ago
Hugo Pereira Da Costa
739b18f4b3
set TopLevel layout margin to zero
12 years ago
Hugo Pereira Da Costa
12874e399d
ShadowArea -> Side
12 years ago
Hugo Pereira Da Costa
9f92490fbf
removed invalid comment
12 years ago
Hugo Pereira Da Costa
12082af273
CornersAll -> AllCorners
12 years ago
Hugo Pereira Da Costa
49d999b089
set special palette and special selection rendering for side panel views
12 years ago
Hugo Pereira Da Costa
00a92a64cf
Fix license
12 years ago
Hugo Pereira Da Costa
afdba7c3f4
use 'official' 5px offset (now that shadow rendering allows it)
12 years ago
Hugo Pereira Da Costa
4b870e7371
reduce shadow tiles size
...
deal with offset when passing to kwin.
12 years ago
Hugo Pereira Da Costa
9b508bb20d
toolbutton item spacing back to 4th pixmap
12 years ago
Hugo Pereira Da Costa
dd1fff0a28
restored 8 pixel for toolbutton spacing between items as it has to match qtoolbutton's internals
12 years ago
Hugo Pereira Da Costa
1669b384ab
reduced icon to text spacing in toolbuttons, to be consistent with pushbuttons
...
moved CheckBoxContentsRect to .cpp
12 years ago
Hugo Pereira Da Costa
17246e0924
renamed metrics for clarity
12 years ago
Hugo Pereira Da Costa
e70ea8bcfa
removed empty line
12 years ago
Hugo Pereira Da Costa
12984e4ae1
added a minimum button width for buttons. This is similar to what's done in e.g. fusion, and enforces that all buttons in
...
dialogs have the same width, for instance
CCMAIL: hein@kde.org
12 years ago
Hugo Pereira Da Costa
bbff964c47
Properly handle our own slider tick length
12 years ago
Hugo Pereira Da Costa
ffdb7ae427
add more spacing between menuitem text and accelerator, when any
12 years ago
Hugo Pereira Da Costa
ce64acd0dc
Equal SpinBox_MarginWidth and LineEdit_MarginWidth, for visual consistency.
12 years ago
Hugo Pereira Da Costa
631247fac6
Moved back shadow dimensions to Metrics in breeze.h
...
cleanup shadow rendering code
fix shadow offsets in MDI windows
12 years ago
Hugo Pereira Da Costa
24fcbe92d0
Rewrite shadow code to match better Breeze svg style
...
- move all metrics shadowhelper
- handle light source from option
- make actual shadow size and offsets adjustable
- calculate 'effective' shadow size, and overlap, accordingly.
12 years ago
Hugo Pereira Da Costa
fcfc4e1837
doxygen
12 years ago
Hugo Pereira Da Costa
ce4be0f35c
implemented pressed animations for radio buttons and checkboxes
12 years ago
Hugo Pereira Da Costa
15b5aae3fe
use hex for bitmask
...
added animationPressed mode
12 years ago
Hugo Pereira Da Costa
cbc7bfcf80
license
12 years ago
Hugo Pereira Da Costa
bc6a42a4e2
added splitter width to metrics
12 years ago
Hugo Pereira Da Costa
53f0a9acd6
Use QWeakPointer instead of QPointer for too old versions of Qt
...
Use QString instead of QStringLiteral for too old versions of Qt
12 years ago
Hugo Pereira Da Costa
03e3d3bfe5
Added utility typedefs for QPointer and QScopedPointer.
...
Moved to breeze.h
Use everywhere instead of QPointer directly
Use "using" syntax for typedefs, instead of "typedef" syntax
12 years ago
Hugo Pereira Da Costa
4f9ec09905
use better toolbar handles
12 years ago
Hugo Pereira Da Costa
70f8c45eff
fixed scrollbar groove positioning when there is no buttons
12 years ago
Hugo Pereira Da Costa
256db17f7b
made alphaColor non static
...
changed (back) 'int' radius to 3
adjusted helper's 'qreal' radius accordingly (to 2.5), and fixed shadow radius
12 years ago
Hugo Pereira Da Costa
f288c34c3e
Render 2px focused outline *inside* frames rather than outside
12 years ago
Hugo Pereira Da Costa
619545e3a7
use Helper function to get qreal radius from frame Radius
...
set default frame radius to 2 instead of 3
removed TabRadius
12 years ago
Hugo Pereira Da Costa
b7fc3e0290
use relevant framewidth (as returned from pixelMetric) rather than Metrics
...
enumeration for QLineEdit, QComboBox and QSpinBox.
Also add some extra spacing after label in checkboxes
12 years ago
Hugo Pereira Da Costa
4abb699e63
Implemented toolbutton animations
12 years ago
Hugo Pereira Da Costa
f744611c02
added methods to render buttons directly in helper
12 years ago