]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
properpanes dimensions
authorThomas Debesse <dev@illwieckz.net>
Sun, 24 Feb 2019 01:41:32 +0000 (02:41 +0100)
committerThomas Debesse <dev@illwieckz.net>
Sun, 24 Feb 2019 02:13:54 +0000 (03:13 +0100)
fix a minor merge mistake

radiant/mainframe.cpp

index a4429fc11ddc0f7131ab942926ebe231ddfcafc6..8581cc4caf8519e771dbcb735e9b1df2bb7e34d8 100644 (file)
@@ -2987,16 +2987,20 @@ void MainFrame::Create(){
        if ( CurrentStyle() == eRegular || CurrentStyle() == eRegularLeft ) {
                {
                        ui::Widget hsplit = ui::HPaned(ui::New);
-                       m_vSplit = hsplit;
+                       m_hSplit = hsplit;
+
                        vbox.pack_start( hsplit, TRUE, TRUE, 0 );
                        hsplit.show();
+
                        {
                                ui::Widget vsplit = ui::VPaned(ui::New);
                                vsplit.show();
                                m_vSplit = vsplit;
+
                                ui::Widget vsplit2 = ui::VPaned(ui::New);
                                vsplit2.show();
-                               m_vSplit = vsplit2;
+                               m_vSplit2 = vsplit2;
+
                                if ( CurrentStyle() == eRegular ){
                                        gtk_paned_add1( GTK_PANED( hsplit ), vsplit );
                                        gtk_paned_add2( GTK_PANED( hsplit ), vsplit2 );
@@ -3014,8 +3018,8 @@ void MainFrame::Create(){
                                m_pXYWnd = new XYWnd();
                                m_pXYWnd->SetViewType( XY );
                                ui::Widget xy_window = ui::Widget(create_framed_widget( m_pXYWnd->GetWidget( ) ));
-
                                gtk_paned_add1( GTK_PANED( vsplit ), xy_window );
+
                                {
                                        // camera
                                        m_pCamWnd = NewCamWnd();