# HG changeset patch # User drewp # Date 1026039142 0 # Node ID 925382e7cdc82d27a7ad9ded0c54359a6b112c25 # Parent c79d4df9d9820f3ef24ab7f285465fa7de1082c2 fixed small bug with orientable diff -r c79d4df9d982 -r 925382e7cdc8 light8/panels.py --- a/light8/panels.py Sun Jul 07 10:49:25 2002 +0000 +++ b/light8/panels.py Sun Jul 07 10:52:22 2002 +0000 @@ -88,10 +88,14 @@ parent=effectsparent side1='bottom' orient='vert' + end1=0 + end2=1 else: parent=scenesparent side1='right' orient='horiz' + end1=1 + end2=0 # make frame that surrounds the whole submaster f=Frame(parent, bd=1, relief='raised') @@ -110,7 +114,7 @@ s = FlyingFader(f, label=str(name), variable=scalelevels[name], showvalue=0, length=300-17, width=18, sliderlength=18, - to=1,res=.001,from_=0,bd=0, font=stdfont, + to=end1,res=.001,from_=end2,bd=0, font=stdfont, orient=orient, labelwidth=12, # this should be equal to the longest label name **scaleopts)