# HG changeset patch # User wycc # Date 1290437067 -28800 # Node ID 148ce30a861df68fd8432b07b345112a8f0eace7 # Parent ee31add878439aaaca01fa28bb105a5798c2497f SHift the ruler to the right to align to the frames diff -r ee31add87843 -r 148ce30a861d pyink/MBScene.py --- a/pyink/MBScene.py Sun Nov 21 09:17:43 2010 +0800 +++ b/pyink/MBScene.py Mon Nov 22 22:44:27 2010 +0800 @@ -430,7 +430,12 @@ ruler = frameline.frameruler(nframes) ruler.set_size_request(nframes * 10, 20) ruler.show() - vbox.pack_start(ruler, False) + hbox = gtk.HBox() + label=gtk.Label('') + label.set_size_request(100,0) + hbox.pack_start(label,expand=False,fill=True) + hbox.pack_start(ruler) + vbox.pack_start(hbox, False) # # Add a frameline for each layer