Mercurial > MadButterfly
changeset 1032:148ce30a861d
SHift the ruler to the right to align to the frames
author | wycc |
---|---|
date | Mon, 22 Nov 2010 22:44:27 +0800 |
parents | ee31add87843 |
children | 8c2862e40c28 |
files | pyink/MBScene.py |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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