开发者

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:

  1. 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.
  2. Remove the line <stylesheet src="cbg_button.css" />
  3. 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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜