PennController for IBEX › Forums › Support › Customize slider › Reply To: Customize slider
February 22, 2022 at 11:11 am
#7782
![](https://www.pcibex.net/wp-content/uploads/2019/04/ibex-2-150x150.png)
Participant
Hello Jeremy,
I have solved this problem in the meantime. The solution was to simply include “max width”: “none” in the css settings of the element in the main script:
newScale("Originell", 100)
.slider()
.settings.css({
"max-width" : "none",
"width": "450px",
"margin": "auto",
"align": "center",
"text-align": "center"
})
.before(newText("label3", "gar nicht "))
.after(newText("label4", " perfekt"))
.center()
.print()
.log()
-
This reply was modified 2 years, 6 months ago by
mschrumpf.