How can I override the default CSS file (cbg_button.css) supplied with the cobogw library?
Actually I created a button using the cobogw widget library.
But the butt开发者_开发技巧on does not look so good.
How can I override the default CSS file (cbg_button.css) supplied with the cobogw library.
From the ButtonCSS.gwt.xml file:
In case you want to integrate the css file in your own css or html file do the following:
- Copy the file
org/cobogw/gwt/user/ButtonCSS.gwt.xml
to your own project source directory and place it in exact the same directory structure as the original file. - Remove the line
<stylesheet src="cbg_button.css" />
- Copy the content of the
cbg_button.css
stylesheet into your own file.
To create a different look&feel for the css this page might help: http://cobogw.googlecode.com/svn/demo/WidgetsDemo.html#ButtonConfigurator
精彩评论