Adjusting font-size in oxy_editor
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 81
- Joined: Mon Mar 05, 2012 5:23 pm
Adjusting font-size in oxy_editor
Hi,
is there a possibility to adjust the font-size of the text displayed in a "oxygen formfield" in the author mode? Inserting the CSS property "font-size" affects only oxy_label, but not the text or attribut displayed (and editable) via oxy_editor or oxy_textfield. It would be nice, if there were a possibility to customize this
Also the font-size in oxy_editor don't scale up or down, when pressing [Strg] + [Num +] or [Num -].
Greets,
Stefan
is there a possibility to adjust the font-size of the text displayed in a "oxygen formfield" in the author mode? Inserting the CSS property "font-size" affects only oxy_label, but not the text or attribut displayed (and editable) via oxy_editor or oxy_textfield. It would be nice, if there were a possibility to customize this

Also the font-size in oxy_editor don't scale up or down, when pressing [Strg] + [Num +] or [Num -].
Greets,
Stefan
-
- Posts: 1
- Joined: Tue Mar 19, 2013 5:39 pm
Re: Adjusting font-size in oxy_editor
Post by adriana_sbircea »
Hello Stefan,
By default, a form control uses the font for GUI setting in <oXygen/> (Preferences/Fonts page). To achieve the desired behavior you can use the "fontInherit" property, like this:
The "fontInherit" property is supported by all the built-in form controls and it will force the control to use the font from its parent element (the element on which it is added). By using this property, the form control will also react to scaling requests.
Best Regards,
Adriana
By default, a form control uses the font for GUI setting in <oXygen/> (Preferences/Fonts page). To achieve the desired behavior you can use the "fontInherit" property, like this:
Code: Select all
oxy_textfield(
edit, "@attribute",
fontInherit, true);
}
Best Regards,
Adriana
Adriana Sbircea
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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