Fix "pns_debug_tool replay" hidden controls

This commit is contained in:
Roberto Fernandez Bautista 2024-03-29 23:15:44 +01:00
parent 491adc6c6c
commit 8afeea4ce9
3 changed files with 3 additions and 6 deletions

View File

@ -1058,7 +1058,7 @@
<property name="max_size"></property>
<property name="maximize_button">0</property>
<property name="maximum_size"></property>
<property name="min_pane_size">0</property>
<property name="min_pane_size">150</property>
<property name="min_size"></property>
<property name="minimize_button">0</property>
<property name="minimum_size"></property>

View File

@ -120,15 +120,11 @@ PNS_LOG_VIEWER_FRAME::PNS_LOG_VIEWER_FRAME( wxFrame* frame ) :
PNS_LOG_VIEWER_FRAME_BASE( frame ), m_rewindIter( 0 )
{
LoadSettings();
createView( this, PCB_DRAW_PANEL_GAL::GAL_TYPE_OPENGL );
createView( m_mainSplitter, PCB_DRAW_PANEL_GAL::GAL_TYPE_OPENGL );
m_reporter.reset( new WX_TEXT_CTRL_REPORTER( m_consoleText ) );
m_galPanel->SetParent( m_mainSplitter );
m_mainSplitter->Initialize( m_galPanel.get() );
m_mainSplitter->SplitHorizontally( m_galPanel.get(), m_panelProps );
m_galPanel->Layout();
m_topBarSizer->Layout();
m_mainSizer->Layout();
Layout();

View File

@ -105,6 +105,7 @@ PNS_LOG_VIEWER_FRAME_BASE::PNS_LOG_VIEWER_FRAME_BASE( wxWindow* parent, wxWindow
m_mainSplitter = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D );
m_mainSplitter->Connect( wxEVT_IDLE, wxIdleEventHandler( PNS_LOG_VIEWER_FRAME_BASE::m_mainSplitterOnIdle ), NULL, this );
m_mainSplitter->SetMinimumPaneSize( 150 );
m_panelProps = new wxPanel( m_mainSplitter, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
wxBoxSizer* bSizer5;