Changeset 5b1be4982fd41e6107247ecb39fa90d6ed0f7f82
- Timestamp:
- 25/08/08 04:21:12
(3 months ago)
- Author:
- Jean-Baptiste Kempf <jb@videolan.org>
- git-committer:
- Jean-Baptiste Kempf <jb@videolan.org> 1219630872 -0700
- git-parent:
[0fba573281060a64c512de99499d0f71982c42db]
- git-author:
- Jean-Baptiste Kempf <jb@videolan.org> 1219630872 -0700
- Message:
Resize the advanced properties of open capture with the scrollarea in the right way.
Close #1915
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rf649e3b |
r5b1be49 |
|
| 1120 | 1120 | /* A main Layout with a Frame */ |
|---|
| 1121 | 1121 | QVBoxLayout *mainLayout = new QVBoxLayout( adv ); |
|---|
| 1122 | | QFrame *advFrame = new QFrame; |
|---|
| 1123 | 1122 | QScrollArea *scroll = new QScrollArea; |
|---|
| 1124 | 1123 | mainLayout->addWidget( scroll ); |
|---|
| 1125 | 1124 | |
|---|
| | 1125 | QFrame *advFrame = new QFrame; |
|---|
| 1126 | 1126 | /* GridLayout inside the Frame */ |
|---|
| 1127 | 1127 | QGridLayout *gLayout = new QGridLayout( advFrame ); |
|---|
| 1128 | | gLayout->setSizeConstraint( QLayout::SetFixedSize ); |
|---|
| 1129 | | |
|---|
| 1130 | | scroll->setHorizontalScrollBarPolicy( Qt::ScrollBarAlwaysOff ); |
|---|
| | 1128 | |
|---|
| 1131 | 1129 | scroll->setWidgetResizable( true ); |
|---|
| 1132 | 1130 | scroll->setWidget( advFrame ); |
|---|