Quellcode durchsuchen

allow graph to set bar width - looks nicer when less than enough data to fill canvas

Daniel Sheffield vor 2 Jahren
Ursprung
Commit
d61410de00
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      app/activities/TransactionEditor.py

+ 1 - 1
app/activities/TransactionEditor.py

@@ -157,7 +157,7 @@ class TransactionEditor(FocusWidget):
                 df['$/unit'].max()
             ])]
         )
-        self.graph.set_bar_width(1)
+        #self.graph.set_bar_width(1)
         # canvas_width = 10 + pad + pad + 10
         date_strlen = (self.graph.canvas_width - 20)
         ex = "─" if date_strlen % 2 else ""