File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
src/main/java/gwt/material/design/client/ui Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ public void setBackgroundColor(String bgColor) {
126126 @ Override
127127 public void setTextColor (String textColor ) {
128128 // TODO Auto-generated method stub
129- addStyleName (textColor );
129+ addStyleName (textColor + "-text" );
130130 }
131131
132132
Original file line number Diff line number Diff line change @@ -15,13 +15,19 @@ public MaterialSlide(){
1515 setStyleName ("slider" );
1616 ul .setStyleName ("slides" );
1717 super .add (ul );
18+
19+ }
20+
21+
22+ @ Override
23+ protected void onLoad () {
24+ // TODO Auto-generated method stub
25+ super .onLoad ();
1826 String className = DOM .createUniqueId ();
1927 addStyleName (className );
2028 initializeSlider (className );
2129 }
2230
23-
24-
2531
2632 @ Override
2733 public void add (Widget child ) {
You can’t perform that action at this time.
0 commit comments