[gnome-maps/wip/mlundblad/transit-routing] fixup! Add a list box row to show the arrival of a transit itinerary



commit 3623d6617472ac982198e8462479b184cd887bf1
Author: Marcus Lundblad <ml update uu se>
Date:   Tue Nov 29 22:10:22 2016 +0100

    fixup! Add a list box row to show the arrival of a transit itinerary

 src/transitArrivalRow.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/transitArrivalRow.js b/src/transitArrivalRow.js
index 429c5f8..128f73c 100644
--- a/src/transitArrivalRow.js
+++ b/src/transitArrivalRow.js
@@ -62,6 +62,10 @@ const TransitArrivalRow = new Lang.Class({
         this._timeLabel.label = lastLeg.prettyPrintArrivalTime();
         this._separator.visible = !this._print;
 
+        /* allow more space for the label in printing mode */
+        if (this._print)
+            this._arrivalLabel.max_width_chars = -1;
+
         this._eventBox.connect('event', (function(widget, event) {
             this._onEvent(event, lastLeg.toCoordinate);
             return true;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]