Hide the scrollbars on the symbol preview canvas
This canvas supports mouse interaction, and navigating using the scrollbars is very difficult (it causes large jumps). Also, having the scrollbars causes the background to bleed through around them, making them appear floating in the canvas. Fixes https://gitlab.com/kicad/code/kicad/issues/4997
This commit is contained in:
parent
589951eaea
commit
b3525bc642
|
@ -57,6 +57,9 @@ SCH_PREVIEW_PANEL::SCH_PREVIEW_PANEL( wxWindow* aParentWindow, wxWindowID aWindo
|
|||
m_view->SetScaleLimits( 20000.0, 0.002 );
|
||||
m_view->SetMirror( false, false );
|
||||
|
||||
ShowScrollbars( wxSHOW_SB_NEVER, wxSHOW_SB_NEVER );
|
||||
EnableScrolling( false, false );
|
||||
|
||||
setDefaultLayerOrder();
|
||||
setDefaultLayerDeps();
|
||||
|
||||
|
|
Loading…
Reference in New Issue