Changeset 175 in tspsg-svn for trunk/src


Ignore:
Timestamp:
May 30, 2011, 4:38:45 PM (13 years ago)
Author:
laleppa
Message:

Settings Dialog is now scrollable in all handheld versions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/settingsdialog.cpp

    r162 r175  
    113113QVBoxLayout *vbox1; // Layout helper
    114114
    115 #ifdef Q_WS_WINCE_WM
    116115    // On screens with small height when SIP is shown and the window is resized
    117116    // there is not enought space for all elements.
     
    122121    scrollArea->setWidgetResizable(true);
    123122    scrollArea->setWidget(bgWhite);
    124 #else
    125     buttons->insertStretch(buttons->indexOf(buttonHelp) + 1);
    126 #endif // Q_WS_WINCE_WM
    127123
    128124    bgWhite->layout()->setMargin(0);
     
    132128    vbox1->setMargin(0);
    133129    vbox1->setSpacing(0);
    134 #ifdef Q_WS_WINCE_WM
    135130    vbox1->addWidget(scrollArea);
    136 #else
    137     vbox1->addWidget(bgWhite);
    138 #endif // Q_WS_WINCE_WM
    139131    vbox1->addWidget(bgGrey);
    140132    setLayout(vbox1);
Note: See TracChangeset for help on using the changeset viewer.