hunthu2000 / gwt-cal

Automatically exported from code.google.com/p/gwt-cal
0 stars 0 forks source link

Custom style support in Google style #69

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create appointment with style set to AppointmentStyle.CUSTOM.
2. Set custom style name to style class of your choice.

What is the expected output? What do you see instead?
Appointment should be displayed with custom style, but it's shown in default 
style (BLUE one).

What version of the product are you using? On what operating system?
0.9.1-SNAPSHOT

Please provide any additional information below.
It's discarded because GoogleDayViewStyleManager tries to get style from map 
and doesn't handle CUSTOM properly. Then it uses DOM to set colors etc., that's 
why adding custom styles doesn't work because inline style has priority over 
class style.

Original issue reported on code.google.com by jakub%pe...@gtempaccount.com on 19 Jul 2010 at 7:37

GoogleCodeExporter commented 9 years ago
Hey Jakub, the CUSTOM style enumeration is not yet hooked up. It is planned for 
a future release, but we haven't added it yet. I'll see if I can fit it in to 
0.9.2

Original comment by Brad.Ryd...@gmail.com on 19 Jul 2010 at 5:49

GoogleCodeExporter commented 9 years ago
Hello. Is CUSTOM style enumeration hooked up yet please?

Thanks

Original comment by petr.pec...@gmail.com on 30 Jul 2012 at 8:28

GoogleCodeExporter commented 9 years ago
i ma using version 0.9.4 and still get the blue style, like in the first post

Original comment by kozl...@gmail.com on 9 Dec 2013 at 2:34