Ticket #5049: patch1.txt

File patch1.txt, 481 bytes (added by bert@…, 16 years ago)

Patch for the mentioned problem/missing feature

Line 
1Index: libs/libmythui/mythuibutton.cpp
2===================================================================
3--- libs/libmythui/mythuibutton.cpp     (revision 16807)
4+++ libs/libmythui/mythuibutton.cpp     (working copy)
5@@ -119,7 +119,7 @@
6 
7         m_Text->SetJustification(m_textFlags);
8     }
9-    else if (element.tagName() == "textflags")
10+    else if (element.tagName() == "textflags" || element.tagName() == "align")
11     {
12         QString align = getFirstText(element).lower();
13