Change in textbox size
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 49
- Joined: Mon Mar 28, 2016 3:54 pm
Change in textbox size
Post by Raga Mounika »
Hi Team,
How can you make sure that the textbox size for textfield can be modified?
If it is possible please provide the code for changing the size of textbox.
Thank you.
Regards,
Mounika
How can you make sure that the textbox size for textfield can be modified?
If it is possible please provide the code for changing the size of textbox.
Thank you.
Regards,
Mounika
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: Change in textbox size
Post by alex_jitianu »
Hi Mounika,
You can't impose a height for form controls but you can make them inherit the font size from the element they are bound to:
In the previous example, the label preceding the form control will use the same font size. You can impose a different font size for the label like this:
To see all the properties supported by the form controls please look inside our documentation.
Best regards,
Alex
You can't impose a height for form controls but you can make them inherit the font size from the element they are bound to:
Code: Select all
text:before {
font-size:20px;
content: "Label" oxy_textfield(edit, '@scale', width, 10em, fontInherit, true);
}
Code: Select all
text:before {
font-size:20px;
content:
oxy_label(text, 'Label', styles, 'font-size:10px')
oxy_textfield(edit, '@scale', width, 10em, fontInherit, true);
}
Best regards,
Alex
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service