Browse Source

Add separators to kicad window.

Fixes: lp:1750409
* https://bugs.launchpad.net/kicad/+bug/1750409
pull/5/merge
Jeff Young 8 years ago
parent
commit
fb31bc1ca7
  1. 9
      kicad/commandframe.cpp

9
kicad/commandframe.cpp

@ -29,6 +29,7 @@
#include <bitmaps.h>
#include <wx/statline.h>
#include "kicad.h"
@ -62,6 +63,8 @@ int LAUNCHER_PANEL::GetPanelWidth() const
*/
void LAUNCHER_PANEL::CreateCommandToolbar()
{
wxStaticLine* separator;
m_buttonSizer = new wxBoxSizer( wxHORIZONTAL );
AddButton( ID_TO_SCH,
@ -72,6 +75,9 @@ void LAUNCHER_PANEL::CreateCommandToolbar()
KiBitmap( icon_libedit_xpm ),
_( "Symbol library editor" ) );
separator = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_VERTICAL );
m_buttonSizer->Add( separator, 0, wxEXPAND | wxALL, 8 );
AddButton( ID_TO_PCB,
KiBitmap( icon_pcbnew_xpm ),
_( "PCB layout editor" ) );
@ -80,6 +86,9 @@ void LAUNCHER_PANEL::CreateCommandToolbar()
KiBitmap( icon_modedit_xpm ),
_( "Footprint library editor" ) );
separator = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_VERTICAL );
m_buttonSizer->Add( separator, 0, wxEXPAND | wxALL, 8 );
AddButton( ID_TO_GERBVIEW,
KiBitmap( icon_gerbview_xpm ),
_( "Gerber viewer" ) );

Loading…
Cancel
Save