VirtualBox

Changeset 78087 in vbox


Ignore:
Timestamp:
Apr 10, 2019 1:18:58 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9434: Import Appliance wizard: 1st basic page: One more layout fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIWizardImportAppPageBasic1.cpp

    r78082 r78087  
    366366        if (m_pSourceLayout)
    367367        {
     368            m_pSourceLayout->setColumnStretch(0, 0);
     369            m_pSourceLayout->setColumnStretch(1, 1);
     370
    368371            /* Create source label: */
    369372            m_pSourceLabel = new QLabel(this);
     
    371374            {
    372375                m_pSourceLabel->hide();
    373                 m_pSourceLabel->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Minimum);
    374                 m_pSourceLabel->setAlignment(Qt::AlignRight | Qt::AlignTrailing | Qt::AlignVCenter);
    375376
    376377                /* Add into layout: */
    377                 m_pSourceLayout->addWidget(m_pSourceLabel, 0, 0);
     378                m_pSourceLayout->addWidget(m_pSourceLabel, 0, 0, Qt::AlignRight);
    378379            }
    379380
     
    438439                {
    439440                    m_pCloudContainerLayout->setContentsMargins(0, 0, 0, 0);
     441                    m_pCloudContainerLayout->setColumnStretch(0, 0);
     442                    m_pCloudContainerLayout->setColumnStretch(1, 1);
    440443
    441444                    /* Create account label: */
     
    443446                    if (m_pAccountLabel)
    444447                    {
    445                         m_pAccountLabel->setAlignment(Qt::AlignRight | Qt::AlignTrailing | Qt::AlignVCenter);
    446 
    447448                        /* Add into layout: */
    448                         m_pCloudContainerLayout->addWidget(m_pAccountLabel, 0, 0);
     449                        m_pCloudContainerLayout->addWidget(m_pAccountLabel, 0, 0, Qt::AlignRight);
    449450                    }
    450451
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette