[oXygen-user] Forms controls in tables
Wendell Piez
wapiez at wendellpiez.com
Mon Jan 6 08:32:30 CST 2014
Alex, fantastic, thank you.
Cheers, Wendell
Wendell Piez | http://www.wendellpiez.com
XML | XSLT | electronic publishing
Eat Your Vegetables
_____oo_________o_o___ooooo____ooooooo_^
On Mon, Jan 6, 2014 at 4:13 AM, Alex Jitianu <alex_jitianu at sync.ro> wrote:
> Hello Wendell,
>
> Thank you for reporting this. I've managed to reproduce it and it looks
> like it's really a problem on our side. I've logged an issue to fix it
> but until then, a possible workaround is to set a small font size on the
> cell: font-size: 0px; Unless you set the "fontInherit" property on the
> form control this will not have any side effects.
>
> Best regards,
> Alex
> --
> Alex Jitianu
> <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
> http://www.oxygenxml.com
>
> On 03-Jan-14 8:13 PM, Wendell Piez wrote:
>> Hi,
>>
>> So, I have a case where an element's contents are validated to an
>> enumerated list of strings in RelaxNG. In a CSS, I have a form control
>> that populates a pull down list of the values from the schema. This
>> works well:
>>
>> account { -oxy-editable: true;
>> content:
>> oxy_textfield(
>> edit, "#text",
>> columns, 30,
>> values );
>> visibility: -oxy-collapse-text;
>> }
>>
>> However, when I set this element to display as a table cell in a
>> table, I get extra vertical whitespace below it.
>>
>> When I remove the 'visibility' property, it displays as I expect (each
>> table row flush with the next). But of course then I see the contents
>> twice, once with the pull-down control, and once as normal contents.
>>
>> Any hints?
>>
>> Cheers, Wendell
>>
>> Wendell Piez | http://www.wendellpiez.com
>> XML | XSLT | electronic publishing
>> Eat Your Vegetables
>> _____oo_________o_o___ooooo____ooooooo_^
>> _______________________________________________
>> oXygen-user mailing list
>> oXygen-user at oxygenxml.com
>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>>
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
More information about the oXygen-user
mailing list