From 71ef2336cbab4cca1d1b228cdb89601f6569c107 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Sun, 24 Feb 2019 02:41:32 +0100 Subject: [PATCH] properpanes dimensions fix a minor merge mistake --- radiant/mainframe.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/radiant/mainframe.cpp b/radiant/mainframe.cpp index a4429fc1..8581cc4c 100644 --- a/radiant/mainframe.cpp +++ b/radiant/mainframe.cpp @@ -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(); -- 2.39.2