Commit d7e13cd4 authored by Kaitlyn Lee's avatar Kaitlyn Lee
Browse files

Added a central widget and set its layout.

parent e2b5a2a2
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -60,8 +60,11 @@ namespace Isis {
    // TODO: This layout should be inside of the cnet editor widget, but I put it here to not
    //     conflict with current work in the cnet editor widget code.
    //QWidget *result = new QWidget;

    QWidget *centralWidget = new QWidget;
    setCentralWidget(centralWidget);
    QGridLayout *resultLayout = new QGridLayout;
    setLayout(resultLayout);
    centralWidget->setLayout(resultLayout);

    int row = 0;

@@ -325,4 +328,3 @@ namespace Isis {
    return result;
  }
}
+3 −3
Original line number Diff line number Diff line
@@ -53,9 +53,10 @@ namespace Isis {
    //       net, while the editors might be using a different net.  Will Directory keep track?
    //


    QWidget *centralWidget = new QWidget;
    setCentralWidget(centralWidget);
    QVBoxLayout *layout = new QVBoxLayout;
    setLayout(layout);
    centralWidget->setLayout(layout);

    layout->addWidget(m_controlPointEditWidget);

@@ -160,4 +161,3 @@ namespace Isis {


}