Hello,
I wanted to add year selection to my date picker, so I extended
MonthSelector and added the extra buttons. Everything worked
great. ...except the setStyleName.
I wanted to do this:
yearBack.setStyleName(css().previousButton());
However, the method css() returns a class DatePicker.StandardCss which
only has package level visibility. So I couldn't use it.
I worked around it by hard coding the values:
yearBack.setStyleName("datePickerPreviousButton");
But that is bad coding.
Does anyone know how I can use the same CSS styles without hard coding
the values?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---