norm
September 3, 2021, 8:00pm
#1
How do you set and retrieve slider sizes? I added:
Slider1.resize(30,30,200,30)
to the slider sample and received this error:
Uncaught TypeError: Cannot Set properties of undefined (setting ‘left’).
line 759 column 35
in appstudioFunctions.js
I can find no way to determine the current position.
norm
September 5, 2021, 12:15am
#3
Thanks. But, I read that. I believe it’s a bug in appstudio. Using resize fails and there seems to be no way to query left, right, top, or height.
ghenne
September 7, 2021, 12:39pm
#4
The Bootstrap Slider is a bit of an odd control. It’s not actually part of Bootstrap itself - but rather a 3rd party control which works well with Bootstrap.
The full documentation for it is here .
As such, functions such as .resize() do not exist for it and are not documented.
norm
September 7, 2021, 12:46pm
#5
Yes, I read that. But, it doesn’t tell me how to adjust the size or location in appstudio.
ghenne
September 7, 2021, 12:49pm
#6
You might try putting it in a Container control, then moving the Container.