Browse Source

update to use TextNode::Alignment

David Rose 24 years ago
parent
commit
9b6e7fe8dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/pgui/pgItem.cxx

+ 1 - 1
panda/src/pgui/pgItem.cxx

@@ -676,7 +676,7 @@ get_text_node() {
 
     // The default TextNode is aligned to the left, for the
     // convenience of PGEntry.
-    _text_node->set_align(TM_ALIGN_LEFT);
+    _text_node->set_align(TextNode::A_left);
   }
   return _text_node;
 }