VirtualBox

Ignore:
Timestamp:
Feb 24, 2009 9:42:17 AM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4-OSX: Make the font larger in the page header.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/QIAbstractWizard.cpp

    r10424 r17046  
    153153    for (int i = 0; i < logoImages.count(); ++ i)
    154154        VBoxGlobal::adoptLabelPixmap (logoImages [i]);
     155
     156#ifdef Q_WS_MAC
     157    /* On the Mac we need at least a size of 14 points. */
     158    QList<QLabel*> pageHeaders =
     159        findChildren<QLabel*> (QRegExp ("m.+Hdr"));
     160    for (int i = 0; i < pageHeaders.count(); ++i)
     161    {
     162        QLabel *lb = pageHeaders [i];
     163        QFont f = lb->font();
     164        f.setPointSize (14);
     165        lb->setFont (f);
     166    }
     167#endif /* Q_WS_MAC */
    155168}
    156169
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