Agreed, I have implemented it with the Button's extension and it
didn't take much time;) i want to check if i can use the radio button
and css to do the trick and handle my other logic in the code.

On Fri, Sep 18, 2009 at 7:50 PM, Ian Bambury <[email protected]> wrote:
> It's a pretty trivial process to make what you want by extending PushButton.
> It shouldn't take you anywhere near the 20 hours that have elapsed since
> asking the original question.
> Ian
>
> http://examples.roughian.com
>
>
> 2009/9/18 Rajesh <[email protected]>
>>
>> Hi.. yes, I had played around with the color, back-ground, border and
>> it can be made to look as a rectangular button..
>>
>> But if the 'display' is set to 'none' or if the visibility is set to
>> hidden, i.e if the tiny circle is made to disappear, the button seems
>> not to be listening to the clicks - Am i wrong here?? or can this be
>> handled by using addStyleName or setPrimaryStyleName.
>>
>> And considering A, B & C to be the 3 mutually exclusive option to be
>> chosen, and the back ground - red for A when chosen, green for B &
>> blue for C.. Can such logic be added to A, B & C using the css primary
>> and dependent class names or is it wiser add the radio button
>> character to the bunch of buttons.
>>
>> On Fri, Sep 18, 2009 at 3:28 PM, Thomas Broyer <[email protected]> wrote:
>> >
>> >
>> >
>> > On 18 sep, 11:46, Rajesh <[email protected]> wrote:
>> >> Hi,  its got to be a wide rectangular button since it will also be used
>> >> on a
>> >> touch screen, so the check boxes doesn't help. a lot of coloring stuff
>> >> is to
>> >> be added too.
>> >
>> > OK, so maybe you're rather interested in a bunch of PushButtons (and
>> > you'll managed the "mutual exclusivity" feature by code).
>> >
>> > ...but maybe you could also try (just an example) to play with
>> > RadioButton's CSS (i've used .gwt-RadioButton here, which means all
>> > radio button's on the app will be changed into pseudo-toggle-buttons;
>> > use addStyleName or setPrimaryStyleName to use a distinct class for
>> > some radio buttons but not all):
>> > .gwt-RadioButton input {
>> >    display: none;
>> > }
>> > .gwt-RadioButton {
>> >    border: blue solid 1px;
>> >    background: lightgray;
>> > }
>> > >
>> >
>>
>>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to