[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [plasma-workspace] applets/digital-clock/package/contents/ui: Wrap text of event title in calendar
From: David Rosca <nowrep () gmail ! com>
Date: 2016-05-25 9:18:01
Message-ID: E1b5Uwz-00049V-9k () scm ! kde ! org
[Download RAW message or body]
Git commit 562d1f25922123c9b9b78287e3435d1e9cd74e6f by David Rosca.
Committed on 25/05/2016 at 09:15.
Pushed by drosca into branch 'master'.
Wrap text of event title in calendar
M +3 -1 applets/digital-clock/package/contents/ui/CalendarView.qml
http://commits.kde.org/plasma-workspace/562d1f25922123c9b9b78287e3435d1e9cd74e6f
diff --git a/applets/digital-clock/package/contents/ui/CalendarView.qml \
b/applets/digital-clock/package/contents/ui/CalendarView.qml index c093a5f..fb30c6f \
100644
--- a/applets/digital-clock/package/contents/ui/CalendarView.qml
+++ b/applets/digital-clock/package/contents/ui/CalendarView.qml
@@ -158,7 +158,7 @@ Item {
delegate: Item {
id: eventItem
width: holidaysList.width
- height: eventTitle.paintedHeight
+ height: eventTitle.paintedHeight + units.smallSpacing
property bool hasTime: {
var startIsMidnight = modelData.startDateTime.getHours() == \
0
&& modelData.startDateTime.getMinutes() \
== 0; @@ -191,6 +191,8 @@ Item {
width: eventItem.hasTime ? parent.width * 0.7 : parent.width
anchors.right: parent.right
text: modelData.title
+ wrapMode: Text.Wrap
+ verticalAlignment: Text.AlignTop
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic