mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 00:21:25 +00:00
Fix Generate button alignment and gap between outputs.
Also applies Mark's MSW hack for borders to Simulation Tuners.
This commit is contained in:
parent
5564f4d316
commit
befacdd113
@ -51,6 +51,14 @@ TUNER_SLIDER::TUNER_SLIDER( SIMULATOR_FRAME_UI* aFrame, wxWindow* aParent,
|
||||
m_value( 0.0 ),
|
||||
m_frame( aFrame )
|
||||
{
|
||||
#if _WIN32
|
||||
// BORDER_RAISED/SUNKEN look pretty on every platform but Windows
|
||||
long style = GetWindowStyleFlag();
|
||||
style &= ~wxBORDER_MASK;
|
||||
style |= wxBORDER_SIMPLE;
|
||||
SetWindowStyleFlag( style );
|
||||
#endif // _WIN32
|
||||
|
||||
const SPICE_ITEM* item = m_frame->GetExporter()->FindItem( m_ref );
|
||||
|
||||
if( !item )
|
||||
|
@ -327,7 +327,6 @@ public:
|
||||
SetWindowStyleFlag( style );
|
||||
#endif // _WIN32
|
||||
|
||||
|
||||
Connect( wxEVT_MENU, wxCommandEventHandler( PANEL_JOB_OUTPUT::onMenu ), nullptr, this );
|
||||
|
||||
if( jobTypeInfos.contains( aOutput->m_type ) )
|
||||
@ -695,7 +694,7 @@ void PANEL_JOBS::addJobOutputPanel( JOBSET_OUTPUT* aOutput )
|
||||
#if __OSX__
|
||||
m_outputListSizer->Add( outputPanel, 0, wxEXPAND, 5 );
|
||||
#else
|
||||
m_outputListSizer->Add( outputPanel, 0, wxEXPAND|wxBOTTOM, 5 );
|
||||
m_outputListSizer->Add( outputPanel, 0, wxEXPAND|wxALL, 3 );
|
||||
#endif
|
||||
|
||||
m_outputPanelMap[aOutput] = outputPanel;
|
||||
|
Loading…
Reference in New Issue
Block a user