Remove horizontal scrollbars from nets in appearances panel.
They're not really appropriate for a panel and the grid one (at least) perturbs a bug in wxWidgets scroll space calculation). Fixes https://gitlab.com/kicad/code/kicad/issues/5239
This commit is contained in:
parent
4a0d6297ab
commit
5be39c6299
|
@ -469,6 +469,9 @@ APPEARANCE_CONTROLS::APPEARANCE_CONTROLS( PCB_BASE_FRAME* aParent, wxWindow* aFo
|
|||
m_netsGrid->GetGridWindow()->Bind( wxEVT_MIDDLE_UP,
|
||||
&APPEARANCE_CONTROLS::OnNetGridMouseEvent, this );
|
||||
|
||||
m_netsGrid->ShowScrollbars( wxSHOW_SB_NEVER, wxSHOW_SB_DEFAULT );
|
||||
m_netclassScrolledWindow->ShowScrollbars( wxSHOW_SB_NEVER, wxSHOW_SB_DEFAULT );
|
||||
|
||||
m_currentLayer = F_Cu;
|
||||
|
||||
loadDefaultLayerPresets();
|
||||
|
|
|
@ -172,7 +172,7 @@ APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID
|
|||
|
||||
bSizerNetClasses->Add( bSizer20, 0, wxEXPAND, 5 );
|
||||
|
||||
m_netclassScrolledWindow = new wxScrolledWindow( m_panelNetclasses, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
|
||||
m_netclassScrolledWindow = new wxScrolledWindow( m_panelNetclasses, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxVSCROLL );
|
||||
m_netclassScrolledWindow->SetScrollRate( 5, 5 );
|
||||
m_netclassOuterSizer = new wxBoxSizer( wxVERTICAL );
|
||||
|
||||
|
|
|
@ -1567,7 +1567,7 @@
|
|||
<property name="tooltip"></property>
|
||||
<property name="window_extra_style"></property>
|
||||
<property name="window_name"></property>
|
||||
<property name="window_style">wxHSCROLL|wxVSCROLL</property>
|
||||
<property name="window_style">wxVSCROLL</property>
|
||||
<object class="wxBoxSizer" expanded="0">
|
||||
<property name="minimum_size"></property>
|
||||
<property name="name">m_netclassOuterSizer</property>
|
||||
|
|
Loading…
Reference in New Issue