Commit a1bd8b94 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Allow SpinBox to go over 1600 in OS-X prefs.

parent b48658bd
...@@ -1441,7 +1441,7 @@ ...@@ -1441,7 +1441,7 @@
/* build the stepper */ /* build the stepper */
ADD_STEPPER( o_stepper, mainFrame, mainFrame.size.width - 19, ADD_STEPPER( o_stepper, mainFrame, mainFrame.size.width - 19,
0, o_tooltip, -1600, 1600) 0, o_tooltip, -100000, 100000)
[o_stepper setIntValue: p_item->value.i]; [o_stepper setIntValue: p_item->value.i];
[o_stepper setAutoresizingMask:NSViewMaxXMargin ]; [o_stepper setAutoresizingMask:NSViewMaxXMargin ];
[self addSubview: o_stepper]; [self addSubview: o_stepper];
...@@ -1734,7 +1734,7 @@ ...@@ -1734,7 +1734,7 @@
/* build the stepper */ /* build the stepper */
ADD_STEPPER( o_stepper, mainFrame, mainFrame.size.width - 19, ADD_STEPPER( o_stepper, mainFrame, mainFrame.size.width - 19,
0, o_tooltip, -1600, 1600) 0, o_tooltip, -100000, 100000)
[o_stepper setFloatValue: p_item->value.f]; [o_stepper setFloatValue: p_item->value.f];
[o_stepper setAutoresizingMask:NSViewMaxXMargin ]; [o_stepper setAutoresizingMask:NSViewMaxXMargin ];
[self addSubview: o_stepper]; [self addSubview: o_stepper];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment