Pārlūkot izejas kodu

part of ongoing modification to the gui: first pass

Asad M. Zaman 20 gadi atpakaļ
vecāks
revīzija
105ad25304
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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'):
         if kw.has_key('text'):
             textoptiondefs = (
             textoptiondefs = (
                 ('text_pos',    (0,-0.025),          None),
                 ('text_pos',    (0,-0.025),          None),
-                ('text_scale',  0.1,                 None)
+                ('text_scale',  0.1,                 None),
+                ('text_align',  TextNode.ALeft,      None)
                 )
                 )
         else:
         else:
             textoptiondefs = ()
             textoptiondefs = ()