Changeset 9f5cc00f29 in tspsg


Ignore:
Timestamp:
May 30, 2011, 4:38:45 PM (13 years ago)
Author:
Oleksii Serdiuk
Branches:
appveyor, imgbot, master, readme
Children:
0a4e16b182
Parents:
1b40fef578
git-author:
Oleksii Serdiuk <contacts@…> (05/30/11 16:38:45)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:46:00)
Message:

Settings Dialog is now scrollable in all handheld versions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/settingsdialog.cpp

    r1b40fef578 r9f5cc00f29  
    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.