Project manager tweaks
This commit is contained in:
parent
97465e8260
commit
838a70129d
|
@ -27,7 +27,7 @@ PANEL_KICAD_LAUNCHER_BASE::PANEL_KICAD_LAUNCHER_BASE( wxWindow* parent, wxWindow
|
|||
m_mainSizer->Add( 0, 20, 0, wxEXPAND, 5 );
|
||||
|
||||
|
||||
bSizer2->Add( m_mainSizer, 1, wxEXPAND|wxLEFT, 50 );
|
||||
bSizer2->Add( m_mainSizer, 1, wxEXPAND|wxLEFT, 24 );
|
||||
|
||||
|
||||
this->SetSizer( bSizer2 );
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
<property name="orient">wxVERTICAL</property>
|
||||
<property name="permission">none</property>
|
||||
<object class="sizeritem" expanded="1">
|
||||
<property name="border">48</property>
|
||||
<property name="border">24</property>
|
||||
<property name="flag">wxEXPAND|wxLEFT</property>
|
||||
<property name="proportion">1</property>
|
||||
<object class="wxBoxSizer" expanded="1">
|
||||
|
|
|
@ -85,7 +85,7 @@ void KICAD_MANAGER_FRAME::OnUnarchiveFiles( wxCommandEvent& event )
|
|||
return;
|
||||
}
|
||||
|
||||
STATUSBAR_REPORTER reporter( GetStatusBar() );
|
||||
STATUSBAR_REPORTER reporter( GetStatusBar(), 1 );
|
||||
|
||||
PROJECT_ARCHIVER archiver;
|
||||
|
||||
|
@ -126,7 +126,7 @@ void KICAD_MANAGER_FRAME::OnArchiveFiles( wxCommandEvent& event )
|
|||
if( !dir.IsOpened() ) // wxWidgets display a error message on issue.
|
||||
return;
|
||||
|
||||
STATUSBAR_REPORTER reporter( GetStatusBar() );
|
||||
STATUSBAR_REPORTER reporter( GetStatusBar(), 1 );
|
||||
PROJECT_ARCHIVER archiver;
|
||||
|
||||
archiver.Archive( currdirname, zipFile.GetFullPath(), reporter, true, true );
|
||||
|
|
|
@ -106,10 +106,10 @@ KICAD_MANAGER_FRAME::KICAD_MANAGER_FRAME( wxWindow* parent, const wxString& titl
|
|||
m_aboutTitle = "KiCad";
|
||||
|
||||
// Create the status line (bottom of the frame)
|
||||
static const int dims[1] = { -1 };
|
||||
static const int dims[2] = { -1, -1 };
|
||||
|
||||
CreateStatusBar( 1 );
|
||||
SetStatusWidths( 1, dims );
|
||||
CreateStatusBar( 2 );
|
||||
SetStatusWidths( 2, dims );
|
||||
|
||||
// Give an icon
|
||||
wxIcon icon;
|
||||
|
@ -139,6 +139,7 @@ KICAD_MANAGER_FRAME::KICAD_MANAGER_FRAME( wxWindow* parent, const wxString& titl
|
|||
ReCreateMenuBar();
|
||||
|
||||
m_auimgr.SetManagedWindow( this );
|
||||
m_auimgr.SetFlags( wxAUI_MGR_LIVE_RESIZE );
|
||||
|
||||
m_auimgr.AddPane( m_mainToolBar, EDA_PANE().HToolbar().Name( "MainToolbar" ).Left()
|
||||
.Layer( 2 ) );
|
||||
|
@ -166,9 +167,6 @@ KICAD_MANAGER_FRAME::KICAD_MANAGER_FRAME( wxWindow* parent, const wxString& titl
|
|||
// Do not let the messages window have initial focus
|
||||
m_leftWin->SetFocus();
|
||||
|
||||
// Do not let our size hide the launcher
|
||||
SetMinSize( GetBestSize() );
|
||||
|
||||
// Ensure the window is on top
|
||||
Raise();
|
||||
}
|
||||
|
|
|
@ -1190,12 +1190,12 @@ void PROJECT_TREE_PANE::FileWatcherReset()
|
|||
// choosing to fault on an invalid event ID instead of sanely ignoring them we need to
|
||||
// avoid spawning a filewatcher. Unforunately this punishes corporate environments with
|
||||
// Windows Server shares :/
|
||||
m_Parent->SetStatusText( _( "Network path: not monitoring folder changes" ), 0 );
|
||||
m_Parent->SetStatusText( _( "Network path: not monitoring folder changes" ), 1 );
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_Parent->SetStatusText( _( "Local path: monitoring folder changes" ), 0 );
|
||||
m_Parent->SetStatusText( _( "Local path: monitoring folder changes" ), 1 );
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue