Browse Source

Use middle ellipsization for kicad manager status bar

6.0.7
Jon Evans 5 years ago
parent
commit
32308c7fef
  1. 4
      kicad/kicad_manager_frame.cpp

4
kicad/kicad_manager_frame.cpp

@ -108,7 +108,8 @@ KICAD_MANAGER_FRAME::KICAD_MANAGER_FRAME( wxWindow* parent, const wxString& titl
// Create the status line (bottom of the frame)
static const int dims[2] = { -1, -1 };
CreateStatusBar( 2 );
CreateStatusBar( 2, wxSTB_SIZEGRIP | wxSTB_SHOW_TIPS | wxSTB_ELLIPSIZE_MIDDLE |
wxFULL_REPAINT_ON_RESIZE );
SetStatusWidths( 2, dims );
// Give an icon
@ -650,6 +651,7 @@ void KICAD_MANAGER_FRAME::InstallPreferences( PAGED_DIALOG* aParent,
void KICAD_MANAGER_FRAME::PrintPrjInfo()
{
SetStatusText( wxString::Format( _( "Project: %s" ), Prj().GetProjectFullName() ) );
}

Loading…
Cancel
Save