radio widgets in 12.o4

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

radio widgets in 12.o4

SkipDever
It used to be that <radio widget fields were displayed with each <option
displayed in its own <tr> with the label and button in <td>s

Now, all the radio buttons and their labels are in the same <tr>.

Is there some way I can force the renderer to display them vertically
instead of horizontally?

Thanks
Skip

Reply | Threaded
Open this post in threaded view
|

RE: radio widgets in 12.o4

SkipDever
My mistake, these radio buttons were not displayed in their own <tr>, they
were displayed in a <div>.

They are now displayed in a <span>

I have modified the code in HtmlFormRenderer to use <div instead of <span
like it used to be.  This works for me, but I am thinking that others might
like them horizontally, so it might be a nice addition to have an
"orientation" keyword in the <radio> xsd.

Skip

-----Original Message-----
From: Skip [mailto:[hidden email]]
Sent: Friday, June 21, 2013 6:19 PM
To: OfbizUser
Subject: radio widgets in 12.o4


It used to be that <radio widget fields were displayed with each <option
displayed in its own <tr> with the label and button in <td>s

Now, all the radio buttons and their labels are in the same <tr>.

Is there some way I can force the renderer to display them vertically
instead of horizontally?

Thanks
Skip


Reply | Threaded
Open this post in threaded view
|

RE: radio widgets in 12.o4

Varun Bhansaly
You can as well try managing the orientation using CSS.
On 22 Jun 2013 07:12, "Skip" <[hidden email]> wrote:

> My mistake, these radio buttons were not displayed in their own <tr>, they
> were displayed in a <div>.
>
> They are now displayed in a <span>
>
> I have modified the code in HtmlFormRenderer to use <div instead of <span
> like it used to be.  This works for me, but I am thinking that others might
> like them horizontally, so it might be a nice addition to have an
> "orientation" keyword in the <radio> xsd.
>
> Skip
>
> -----Original Message-----
> From: Skip [mailto:[hidden email]]
> Sent: Friday, June 21, 2013 6:19 PM
> To: OfbizUser
> Subject: radio widgets in 12.o4
>
>
> It used to be that <radio widget fields were displayed with each <option
> displayed in its own <tr> with the label and button in <td>s
>
> Now, all the radio buttons and their labels are in the same <tr>.
>
> Is there some way I can force the renderer to display them vertically
> instead of horizontally?
>
> Thanks
> Skip
>
>
>