Browse Source

part of ongoing modification to the gui: first pass

Asad M. Zaman 20 years ago
parent
commit
105ad25304
1 changed files with 2 additions and 1 deletions
  1. 2 1
      direct/src/gui/DirectSliderBar.py

+ 2 - 1
direct/src/gui/DirectSliderBar.py

@@ -53,7 +53,8 @@ class DirectSliderBar(DirectFrame):
         if kw.has_key('text'):
             textoptiondefs = (
                 ('text_pos',    (0,-0.025),          None),
-                ('text_scale',  0.1,                 None)
+                ('text_scale',  0.1,                 None),
+                ('text_align',  TextNode.ALeft,      None)
                 )
         else:
             textoptiondefs = ()