Changeset 5b1be4982fd41e6107247ecb39fa90d6ed0f7f82

Show
Ignore:
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
  • modules/gui/qt4/components/open_panels.cpp

    rf649e3b r5b1be49  
    11201120    /* A main Layout with a Frame */ 
    11211121    QVBoxLayout *mainLayout = new QVBoxLayout( adv ); 
    1122     QFrame *advFrame = new QFrame; 
    11231122    QScrollArea *scroll = new QScrollArea; 
    11241123    mainLayout->addWidget( scroll ); 
    11251124 
     1125    QFrame *advFrame = new QFrame; 
    11261126    /* GridLayout inside the Frame */ 
    11271127    QGridLayout *gLayout = new QGridLayout( advFrame ); 
    1128     gLayout->setSizeConstraint( QLayout::SetFixedSize ); 
    1129  
    1130     scroll->setHorizontalScrollBarPolicy( Qt::ScrollBarAlwaysOff ); 
     1128 
    11311129    scroll->setWidgetResizable( true ); 
    11321130    scroll->setWidget( advFrame );