QTfrontend/selectWeapon.cpp
changeset 643 281af1f040fb
parent 640 e69b651bb336
child 644 45454744f240
equal deleted inserted replaced
642:3178a83c7043 643:281af1f040fb
    47   hbLayout->addWidget(item);
    47   hbLayout->addWidget(item);
    48 
    48 
    49   hbLayout->setStretchFactor(lbl, 1);
    49   hbLayout->setStretchFactor(lbl, 1);
    50   hbLayout->setStretchFactor(item, 99);
    50   hbLayout->setStretchFactor(item, 99);
    51   hbLayout->setAlignment(lbl, Qt::AlignLeft | Qt::AlignTop);
    51   hbLayout->setAlignment(lbl, Qt::AlignLeft | Qt::AlignTop);
    52   //hbLayout->setAlignment(item, Qt::AlignTop);
    52   hbLayout->setAlignment(item, Qt::AlignTop);
    53 }
    53 }
    54 
    54 
    55 SelWeaponWidget::SelWeaponWidget(QWidget* parent) :
    55 SelWeaponWidget::SelWeaponWidget(QWidget* parent) :
    56 QWidget(parent)
    56 QWidget(parent)
    57 {
    57 {