Can i control the design of the slider textbox?
-
@d-healey oh i have found this, looks amazing btw, but for some reason i am not able to type into it, it resets on double click like a dial
-
@Straticah Shift+click
-
@d-healey ah got it, is it possible to have double click as the default in terms of UX?
-
@Straticah You can do anything you like, it's triggered in the mouse callback. The regular HISE sliders use shift click so that's what I used.
-
@d-healey i followed your example but i just found out that if i type in a value with shift click it does not change the value of the assigned parameter. Only on drag. How can i solve this? :)
-
@Straticah said in Can i control the design of the slider textbox?:
@d-healey i followed your example but i just found out that if i type in a value with shift click it does not change the value of the assigned parameter. Only on drag. How can i solve this? :)
Got a snippet?
-
@d-healey i just checked and the one you provided seems to have the same issue:
https://forum.hise.audio/post/76517PS added the snippet here:
HiseSnippet 2907.3oc0Ys0aabbEdosXPnZSgSZa.5KESVfBrLRdCIsjkkcbhH4RZSaQqURzR9BDB1KCIGwk6xtWDEcheo+x5Oo9XeK8blYuwKRVw.snV.RZtblybNey41LqtumEMHvyWpPodylPkJ76Kd7L2vgMGZvbk5nIU3qJdggSDsi6jnvSY1CngRMlMwHHfZKUnvseBRWgRqIw+4e8iMLbLbsnYCIIchGyhtOaLKLaT88dNywosgMsGabNp2ZuNVdtM8b7h.Y51EqHMwvZjw.5KLPxtUQoBeVKaVnm+wgFgz.oBq0vyd1wC8l5Jn+DV.yzghcpJcLvHwvs8brQIFGUp4PlisdhtGHAbQOCIts.I9SE6xrYoimgH2gOAIaE4wiB2Zdw61yIdUyKdUxIdqPjJjSjVSHReYwis7YSBylAkmeWwNtgT+9F.rmWTDzJcq28GK1zCnvMTcrwHZaenS5JTpUoxlD3Okez5qCPePHYhqi3fl7XhkOEziSPK.TuTjSmTFW.y0g4RI8ibsBYdtKQ9DCWpSG6xq+yqWxwyxvgvGAXbhDAbpo23IdtPmTxez5kVuDuiZ.MTG.9vi7hBgsRIYqTFTd8R.WKcggOw.XX3PV.xs8wsogWjqcfBpTk.VUZ.xGgUkh3eApSYgCq6LYngRxRUjMGHlUt7ljrQotFvQlsbYxORppVg7PRE0sKy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VAQFWJWdY8OOcoGOI7Qnm4IwZng6.psx7loKTEVt6lXB4rE1bD7EGvxDjIQS.RoYk7UZUWFIohuMEWeI0POwPRIWkbWjIrKZXvkRPHWPJicClDELTwjWYLPg.WDP2iVGFI88m7begWH8.WE9KNASQVbp98W4bX1YeOGG.JV0z3iT5ecKTwMZrIdawXPHlPoBqM+yAV7peNv7uVoknXgbD541wkEdvDp6U8FlRwUXfOcXrTAjFxe3v+P7CGJrNjX13qFNx0L9Ac4Bc9mrU5kcvHuIrZtJzgwznWvrnh2jrTQMZvnPuIbZiMK.1K13uH4EKwyp38M8IDktLaO6r2rrN81STKa1H+vdI2NDF6y9Ke8W+q3nY2OCG8e7KWvGM+6skwgOeOw3n6ZdUE4ABo+MIdM4YS858lSg9y2HjDznhEtCr5YXCjMiY11Nzj2aKuBGueEKz.5lnvEK7WgdKb264Qs4dBMoBqWL4IzjxiQI5WVpvUOZMb3eE9gKrX32iotnvdAjQLSb+2+XtWTKU2LxcB1Xufn98YWJ.yjHi4+1.SRrV6XyAR13INTB9EDphZrwXJbaSbtOqH+yJLN+mV30+ywd1w1aVLSvZRZ4GH+NEga+G4XDN+60ibKdBDxx+H43Cgip6r7B5hOh+Z2rGw+5+FC2Tw8KKpyfK3tZ48VqPdAuz+aKuweRjunXq98A6tLgcshse0098OV6lEvKST9feKjOO8CUwsedRhnrfA0U+QpjjznNFyAfmtnq+J9LVcbghZB08bL7WD9u8M9a9T85+lOqcisQPUh7IiM8WUjC4eJIvbShOcD36TDRw9+Ahq3YZFz0HzGSET7EQiOFxxXQAQ0EpA.qApvsvpUD8qjjKAx5Xy6f4hhmrJ1uP7jUSl7+I6wXCKeuexRTGE5Z947Q.81k+knKUrK1mTc4hmfL9rexxZdVszBq8wtv68wtvs9XW31erK79erKbmO1E9fO7BwOde8nPuwB+DIot5s3E6VnPKwMUv7rR+GPNw+aw
-
@Straticah Investigating... :detective:
-
Ah ok, we need to add
component.changed();
after setting the value. -
@d-healey perfect! works well now :)