Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalther Neuper <wneuper@localhost.(none)>2010-05-14 13:57:55 (GMT)
committer Walther Neuper <wneuper@localhost.(none)>2010-05-14 13:57:55 (GMT)
commit01367154aa2b927e4e2536e39589c9b65253a3c4 (patch)
tree948dd79f2f817cdf97e665acc53eaf3b345a9ff4
parent3097e0d0d20f7da7c6a9b2b19a690030ac864a14 (diff)
display adapted to calcs with 5 lines; finished with calculation_box
-rw-r--r--ReckonPrimer.activity/display.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ReckonPrimer.activity/display.py b/ReckonPrimer.activity/display.py
index f289e1e..0f1c70a 100644
--- a/ReckonPrimer.activity/display.py
+++ b/ReckonPrimer.activity/display.py
@@ -448,7 +448,7 @@ class Display:
self.calc_table.set_row_spacings(2)
self.calc_table.set_col_spacings(2)
#self.table.attach(self.calc_table, 0, 1, 0, 5)
- self.table.attach(self.calc_table, 0, 1, 0, 10)
+ self.table.attach(self.calc_table, 0, 1, 6, 10)
self.calc_table.show()
"""display the lines of a calc with _ at all input positions"""
@@ -466,7 +466,8 @@ class Display:
calculation, cursor = line, linepos
self.calculation_box = gtk.HBox(True, 0)
calc_pos = 0
- self.calc_table.attach(self.calculation_box, 0, 1, 3 + lineno, 4 + lineno)
+ #self.calc_table.attach(self.calculation_box, 0, 1, 3 + lineno, 4 + lineno)
+ self.calc_table.attach(self.calculation_box, 0, 1, 0 + lineno, 1 + lineno)
for i in calculation:
if (calc_pos != cursor):
self.label = gtk.Label(i)