Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
It seems using the UIHint.Longstring is giving me a much better sized TextArea in the property editor, so I'm going to use that for now.
I always use UIHint.LongString
For future reference, you can style any element and set the width, background color, fonts etc...
Hi - thanks for the reference, however I did not want to style all the text areas, just a subset in a specific situation which was why I was trying to go the Editor Descritor route, but I would properly have to my own component for that I fear.
However, seeing as LongString seems to work fine for me at them moment, I'm going with that for now to keep it simple. :)
Hi.
I'm wondering if it is possible to adjust the width of a UIHint.Textarea in a PropertyType editor easily (hopefully no dojo/custom editor :))
I've made a PropertyList of a custom type in a block:
And in my AdditionalProductLine class I have a string property with a UIHint.Textarea:
And it seems to work fine, however when I open the editor the text area is too large for the box and causes usability issues. I would love it if I could somehow control the width of a textarea if opening via the property editor, however I cannot seem to find a way to do it.
I tried simply creating an editor descriptor that added a width style for my specific property, but that just seemed to remove the list entirely.