← Back to team overview

ubuntu-touch-coreapps-reviewers team mailing list archive

[Merge] lp:~nik90/ubuntu-clock-app/improve-alarm-name-eliding-ruling into lp:ubuntu-clock-app

 

Nekhelesh Ramananthan has proposed merging lp:~nik90/ubuntu-clock-app/improve-alarm-name-eliding-ruling into lp:ubuntu-clock-app.

Commit message:
Improves the alarm name eliding rule

Requested reviews:
  Ubuntu Clock Developers (ubuntu-clock-dev)

For more details, see:
https://code.launchpad.net/~nik90/ubuntu-clock-app/improve-alarm-name-eliding-ruling/+merge/268268

Improves the alarm name eliding rule
-- 
Your team Ubuntu Clock Developers is requested to review the proposed merge of lp:~nik90/ubuntu-clock-app/improve-alarm-name-eliding-ruling into lp:ubuntu-clock-app.
=== modified file 'app/alarm/AlarmDelegate.qml'
--- app/alarm/AlarmDelegate.qml	2015-08-11 22:05:28 +0000
+++ app/alarm/AlarmDelegate.qml	2015-08-17 18:31:19 +0000
@@ -70,7 +70,8 @@
                 text: message
                 fontSize: "small"
                 elide: Text.ElideRight
-                Layout.maximumWidth: parent.width/4
+                Layout.maximumWidth: parent.width > alarmLabel.contentWidth + alarmSubtitle.contentWidth ? (parent.width - alarmSubtitle.contentWidth - units.gu(4))
+                                                                                                         : contentWidth
             }
 
             Label {


Follow ups