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
If you want it to be multiline, just add:
[UIHint(EPiServer.Web.UIHint.Textarea)]
But you might just want a little more width?
Does this apply to all text boxers or just some specific ones?
If all: There is some examples in Alloy Templates on how to implement your custom css-files.
With that you should be able to change the styling of the text boxes. Use firebug or similar to see if you can find a good selector
Check out this article, under the heading "Adding a backgroud device image" you can see how to add css files.
http://world.episerver.com/blogs/Stefan-Torstensson/Dates/2012/12/Adding-a-new-device-to-the-view-resolution-drop-down/
However what the content for the .css file you can find by using the developer tools in your browser
Tanks Alf!
Since I already had a Styles.css in my /ClientResources/Styles, i just added the corresponding classes from dojo there!
If you don't have it there, just must add it, and insert this into the module.config
<clientResources> <add name="epi-cms.widgets.base" path="Styles/Styles.css" resourceType="Style"/> </clientResources>
For the textbox fix, I just added:
input.dijitInputInner { width: 500px !important; } div.dijitTextBox { width: 500px !important; }
Just change the width as you prefer
Fredrik
Hi
Is there a way to make the short string textbox any larger? It is so short now
Looked into EditorDescriptor but can't find a way to do it...
Any ideas?