Ticket #1091: align-left.diff

File align-left.diff, 1.4 KB (added by anonymous, 14 years ago)
  • xmlparse.cpp

    old new  
    902902            guide->SetJustification(Qt::AlignCenter | jst);
    903903        else if (align.lower() == "right")
    904904            guide->SetJustification(Qt::AlignRight | jst);
     905        else if (align.lower() == "left")
     906            guide->SetJustification(Qt::AlignLeft | jst);
    905907        else if (align.lower() == "allcenter")
    906908            guide->SetJustification(Qt::AlignHCenter | Qt::AlignVCenter | jst);
    907909        else if (align.lower() == "vcenter")
     
    10271029            bar->SetJustification(Qt::AlignCenter);
    10281030        else if (align.lower() == "right")
    10291031            bar->SetJustification(Qt::AlignRight);
     1032        else if (align.lower() == "left")
     1033            bar->SetJustification(Qt::AlignLeft);
    10301034        else if (align.lower() == "allcenter")
    10311035            bar->SetJustification(Qt::AlignHCenter | Qt::AlignVCenter);
    10321036        else if (align.lower() == "vcenter")
     
    13621366            text->SetJustification(jst | Qt::AlignCenter);
    13631367        else if (align.lower() == "right")
    13641368            text->SetJustification(jst | Qt::AlignRight);
     1369        else if (align.lower() == "left")
     1370            text->SetJustification(jst | Qt::AlignLeft);
    13651371        else if (align.lower() == "allcenter")
    13661372            text->SetJustification(jst | Qt::AlignHCenter | Qt::AlignVCenter);
    13671373        else if (align.lower() == "vcenter")