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
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