Commit Graph

356 Commits

Author SHA1 Message Date
Marco Martin
6b32e0426c add missing property preferredWidth 2012-10-18 17:22:34 +02:00
Marco Martin
58d9657594 binding loop-- 2012-10-18 16:50:59 +02:00
Marco Martin
fb8ec6f147 take again size from the arrow
to be consistent with the old widget behavior
2012-10-18 13:50:39 +02:00
Sebastian Kügler
d3f8c0683b Fix two typos introduced with 29a2ed
It's delegate.margins of course.

Reviewed-By: Marco Martin
2012-10-17 17:36:55 +02:00
Marco Martin
05936e77d8 kill the ToolButton duplication for touch 2012-10-14 20:05:40 +02:00
Marco Martin
b794f94286 draw attached ToolButtons in ButtonRow/Column
but only if the theme composes over borders (needed to be pixel perfect)
if the toolbuttons are not flat and if the ButtonRow is large enough
2012-10-14 20:05:40 +02:00
Marco Martin
6b7fa2aaac use paintedWidth when significative
gets updated before implicitWidth, making the center alignment work better
2012-10-12 19:36:53 +02:00
Marco Martin
86ecacf2a4 fix easing assignment 2012-10-12 14:33:26 +02:00
Marco Martin
795320af25 fix unresolved objects 2012-10-12 14:33:26 +02:00
Marco Martin
9827cd84cc fix TypeError 2012-10-12 14:33:26 +02:00
Marco Martin
c89e68ff12 check if the default anchors are applicable 2012-10-12 14:33:26 +02:00
David Edmundson
4644711a33 Fix padding to the left and right of text in a textField
A TextField already had (implicit) padding to the top and bottom of the text to the frame
this was added to the left and right side as matching margins look cleaner

REVIEW: 106797
2012-10-12 02:27:36 +01:00
Marco Martin
6209ca2527 proper icon margins 2012-10-11 13:30:24 +02:00
Marco Martin
456db61aa0 only consider actual tabbuttons 2012-10-11 12:42:02 +02:00
Marco Martin
9f0d2338b1 never draw disabled flat buttons 2012-10-11 12:32:58 +02:00
Marco Martin
e2f90d95d2 make the current tab cycle under wheel 2012-10-11 11:47:58 +02:00
Marco Martin
e7a5a5fbcf correct cuttong of the button in case of scrolling 2012-10-11 11:40:42 +02:00
Marco Martin
c56534ba47 proper tab button size 2012-10-11 11:15:36 +02:00
Marco Martin
8d327acc6f A bit of snap before scolling the layout 2012-10-11 11:09:07 +02:00
Marco Martin
bc631e4467 try to keep current tab in the middle if possible 2012-10-11 10:37:12 +02:00
Marco Martin
d8116afac3 round only when square 2012-10-10 18:47:56 +02:00
Marco Martin
78a87b1da3 always use round buttons on toolbuttons without text 2012-10-10 18:35:06 +02:00
Marco Martin
b50652c805 use hint-scrollbar-size for size
support themes without scrollbar arrows
2012-10-09 19:40:17 +02:00
Aleix Pol
fa82e27049 Forward-port fix from master
Don't ever change the view position value from the scrollbar if it's
in non-interactive mode
2012-10-09 16:21:21 +02:00
Marco Martin
a518f3bb6e fix text alignment 2012-10-08 16:00:55 +02:00
Marco Martin
fe783b7355 no return in property bindings
or doesn't do the signal connection to pthe property changed
2012-10-08 14:47:36 +02:00
David Edmundson
0d6db0bbed Add property minimumWidth and minimumHeight to Button
REVIEW: 106717
2012-10-05 21:35:40 +01:00
Luiz Romário Santana Rios
0882ba62f7 Fix the documentation of TextArea plasmacomponent
REVIEW: 106703
2012-10-04 21:20:32 -03:00
Marco Martin
0722c3cf69 ensure selected tabs are visible 2012-10-04 20:14:26 +02:00
Luiz Romário Santana Rios
1ed4f894cc Fixed horizontalAlignment and verticalAlignment properties of TextArea
REVIEW: 106702
2012-10-03 21:06:34 -03:00
Marco Martin
13cba92e54 better logic for text elide 2012-10-03 10:38:00 +02:00
Marco Martin
2d297c1f6e revert text elide
causes some buttons to lose size hint
2012-10-02 22:30:38 +02:00
Marco Martin
47bd296058 flip wheel up/down behavior 2012-10-02 22:30:16 +02:00
Marco Martin
e0598f1489 elide text if long 2012-10-02 22:00:19 +02:00
Marco Martin
fca4a9c68b support mouse wheel switching 2012-09-26 20:09:46 +02:00
Marco Martin
23fbdc089a fix in case some tab is invisible 2012-09-26 18:16:17 +02:00
Marco Martin
2f0fce8628 scroll arrows when there are too many tabs 2012-09-26 17:45:29 +02:00
Marco Martin
faccd995e2 ensure a tab is selected 2012-09-13 13:19:29 +02:00
Marco Martin
322bf6ab6c round toolbuttons when not flat and no text 2012-09-10 22:11:15 +02:00
Marco Martin
c3130c7066 fix interaction ScrollArea/SectionScroller
fix the behaviour of the interaction between ScrollArea and SectionScroller, both in touch and desktop cases
make the margins correctly update based wether the scrollbar is actually visible
2012-09-05 18:15:59 +02:00
Marco Martin
8276343bcf Merge branch 'master' into plasma/mart/PageRow 2012-08-17 15:34:50 +02:00
Marco Martin
dc424465d8 proper size hints for tab buttons 2012-08-17 15:34:17 +02:00
Aleix Pol
e8ef093ea8 Also regenerate the value pixmap when the height changes
It could generate a visual glitch if the program plays with the bar's height.

Thanks David Edmunson for noticing :)
REVIEW: 105966
2012-08-16 01:53:15 +02:00
David Edmundson
650258aa88 Fix spelling typo in comment 2012-08-14 18:05:57 +01:00
Marco Martin
3d2083be1a Merge branch 'master' into plasma/mart/PageRow 2012-08-14 15:54:47 +02:00
Gregor Tätzner
91e67c8304 Merge branch 'master' of git://anongit.kde.org/kde-runtime 2012-08-10 19:31:42 +02:00
Gregor Tätzner
f2eab7768b Calculate implicitWith wide enough so that items don't have to ellide.
REVIEW: 105742
2012-08-10 19:27:37 +02:00
Marco Martin
533902e9d4 Merge branch 'master' into plasma/mart/PageRow 2012-08-10 18:43:46 +02:00
Marco Martin
3ceb300f6f better calculation of tile widths 2012-08-10 18:42:16 +02:00
Aleix Pol
b52080ff78 Fix some ProgressBar visual glitches
Make sure the visualization takes all the available space
Update the visualization elements whenever the background and the value change

REVIEW: 105966
2012-08-10 18:16:26 +02:00