[oXygen-user] oxy_combobox() label for '<Empty>'?
Oxygen XML Editor Support (Radu Coravu)
support at oxygenxml.com
Mon Jun 6 00:44:37 CDT 2016
Hi Tony,
Right now you cannot control the <Empty> label set of the combo box
which allows you to delete the entire attribute.
I added an issue on our side and hopefully we'll find a solution for this.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
On 6/4/2016 5:00 PM, Tony Graham wrote:
> For this element:
>
> <variable name="General_Serif_Font">Arial</variable>
>
> I have this (work-in-progress) Author-mode CSS:
>
> ======
> variable::before {
> content: oxy_label(text, "Variable: ", width, 5em) oxy_textfield(
> edit, '@name',
> columns, 40
> ) oxy_label(text, "Output: ") oxy_combobox(
> edit, '@output-type',
> editable, false,
> values, "web, print-color, print-mono",
> labels, "Web, Color, Mono",
> canRemoveValue, true,
> fontInherit, true
>
> );
> font-family: 'Arial Unicode MS', 'DejaVu Sans', sans-serif;
> }
>
> variable {
> display: block;
> content: " = " oxy_textfield(
> edit, '#text',
> columns, 40
> );
> visibility:-oxy-collapse-text;
> background-color: lightblue;
> }
> ======
>
> The 'labels' property works, thank you, but how can I provide a label
> (and, eventually, a tooltip) such that the non-existence of the
> @output-type attribute shows as 'All', not '<Empty>'?
>
> Regards,
>
>
> Tony Graham.
More information about the oXygen-user
mailing list