Ignore:
Timestamp:
Mar 27, 2013, 5:47:22 PM (11 years ago)
Author:
garnier
Message:

merge avec la branche 12_03_12-managerComboBox

Location:
Interface_Web/trunk/pspaWT
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT

  • Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_serverFileSelector.cc

    r347 r401  
    7070    WContainerWidget *buttonContainer = new WContainerWidget();
    7171    WHBoxLayout* hButtonLayout = new WHBoxLayout();
    72     buttonContainer->setLayout(hButtonLayout);
    7372   
    7473    WPushButton *annule = new WPushButton("cancel");
     
    8079    submit->clicked().connect(this, &Wt::WDialog::accept);
    8180   
     81    buttonContainer->setLayout(hButtonLayout);
    8282
    83     // overload the container already present
     83    // add the container already present
    8484   
    85     WContainerWidget* widgt = new WContainerWidget(contents());
    86     WVBoxLayout* vLayout = new WVBoxLayout();
    87     vLayout->addWidget(treeContainer);
    88     vLayout->addWidget(buttonContainer);
    89     widgt->setLayout(vLayout);
     85    addVContent(treeContainer);
     86    addVContent(buttonContainer);
    9087   
     88    treeContainer->resize(400,300);
     89    treeContainer->setOverflow(WContainerWidget::OverflowAuto);
     90
    9191}
    9292
Note: See TracChangeset for help on using the changeset viewer.