GWT TabPanel CSS style with image -
i have panel in project , can't change default style of (light blue) - want image in tab. follow several tutorials can't find out.
please me out how it?
tabpanel tabpanel = new tabpanel(); panel controlpanel = new panel("discovery"); tabpanel.add(controlpanel); ... , have both project css , custom css.
where change css modify our tab panel?
panel controlpanel = new panel("discovery"); the above line scary in gwt.you cannot instantiate panel class because panel class in abstract
and coming default styles
tabpanel tabpanel = new tabpanel(); tabpanel.setstyleprimaryname("yourstyle"); the setstyleprimaryname ovverides default styles.
if want add css classes existing default style use
tabpanel.addstylename("myextrastyles");
Comments
Post a Comment