In CSS there is a way to define width & height of each icon in a PNG file.Anyway...
Another problem is that yesterday Qt Labs announced a technical preview of Qt 4.7& Qt creator 2.0 alpha.I downloaded creator 2.0 alpha,installed while I have already installed Qt 4.6.2.
When compiling(release) a project I found that all image using './resources/...' file url doesn't work.The images just disappeared.But that not appear in creator 1.3.1
-----------------update------------------
well , at first the 'resources' DIR was in 'release' folder.When I copy this folder to the project folder, all things returned to be all right.Maybe there's a change in Qt's file system? Strange.
Bookmarks