You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
When you put a RangeSlider() underneath a default Slider(), the width doesn't match.
Possible solution
In class file, change line 520 static const double _overlayDiameter = _overlayRadius * 2.0; static const double _overlayDiameter = _overlayRadius;
and at line 733 under the void performResize() {} method to preserve the correct height constraints.hasBoundedHeight ? constraints.maxHeight : _overlayDiameter, constraints.hasBoundedHeight ? constraints.maxHeight : _overlayDiameter * 2,
But I'm not sure if it creates the wanted behavior for other cases, if you want I'll generate a pull request.
Awesome library and great documentation by the way my Wallonian friend, much appreciated!
Greetings from the north
The text was updated successfully, but these errors were encountered:
Problem:
When you put a RangeSlider() underneath a default Slider(), the width doesn't match.
Possible solution
In class file, change line 520
static const double _overlayDiameter = _overlayRadius * 2.0;
static const double _overlayDiameter = _overlayRadius;
and at line 733 under the
void performResize() {}
method to preserve the correct heightconstraints.hasBoundedHeight ? constraints.maxHeight : _overlayDiameter,
constraints.hasBoundedHeight ? constraints.maxHeight : _overlayDiameter * 2,
But I'm not sure if it creates the wanted behavior for other cases, if you want I'll generate a pull request.
Awesome library and great documentation by the way my Wallonian friend, much appreciated!
Greetings from the north
The text was updated successfully, but these errors were encountered: