Oxygen Form Controls Alignment Issues
Posted: Fri Jul 12, 2013 9:06 pm
There seems to be some inconsistencies with the way Oxygen Editor lays out its form controls.
This is a screenshot of how it is rendered. Here you can see that the baseline location of the text would be "author:". The custom form is significantly above the baseline and the button is below the baseline.

This is the CSS we are using to create the form controls:
This is a screenshot of how it is rendered. Here you can see that the baseline location of the text would be "author:". The custom form is significantly above the baseline and the button is below the baseline.

This is the CSS we are using to create the form controls:
Code: Select all
author:before {
margin-left: 2em;
content: "author: "
}
author {
content: oxy_editor(rendererClassName, "com.test.oxygen.plugin.AuthorRenderer",
swingEditorClassName, "com.test.oxygen.plugin.AuthorRenderer",
classpath, "${oxygenHome}/plugins/TestOxygenPlugin/lib/bwater.jar",
columns, 30);
}
author:after {
content: oxy_editor(type, button,
actionID, "choose_author")
}