mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Configure page and line size in STEPPED_SLIDER
This commit is contained in:
parent
c356cd2aa9
commit
70ce74ed4a
@ -47,6 +47,12 @@ void STEPPED_SLIDER::SetStep( int aSize )
|
||||
wxASSERT( aSize > 0 );
|
||||
m_step = ( aSize > 0 ) ? aSize : 1;
|
||||
|
||||
// configure pg up/down to increment by our steps
|
||||
SetPageSize( aSize );
|
||||
|
||||
//configure arrows to incrment by our steps
|
||||
SetLineSize( aSize );
|
||||
|
||||
#ifdef __WXMSW__
|
||||
ClearTicks();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user