Merge branch 'master' of git://anongit.kde.org/plasma-framework

This commit is contained in:
andreas kainz 2016-08-26 23:48:08 +02:00
commit 77e0a58a60

View File

@ -124,9 +124,10 @@ MouseArea {
elide: Text.ElideRight
fontSizeMode: Text.HorizontalFit
font.pixelSize: Math.max(theme.smallestFont.pixelSize, Math.floor(daysCalendar.cellHeight / 3))
// This is to avoid the "Both point size and
// pixel size set. Using pixel size" warnings
font.pointSize: undefined
// Plasma component set point size, this code wants to set pixel size
// Setting both results in a warning
// -1 is an undocumented same as unset (see qquickvaluetypes)
font.pointSize: -1
color: today ? theme.backgroundColor : theme.textColor
Behavior on color {
ColorAnimation { duration: units.shortDuration * 2 }