Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议支持 img 的 内嵌路径 #1

Open
gonboy opened this issue Sep 19, 2019 · 3 comments
Open

建议支持 img 的 内嵌路径 #1

gonboy opened this issue Sep 19, 2019 · 3 comments
Labels
enhancement New feature or request implemented New feature added.

Comments

@gonboy
Copy link

gonboy commented Sep 19, 2019

background-image: url(:/img/close.png);
@hustlei
Copy link
Owner

hustlei commented Sep 22, 2019

恩,好建议,后续加一下

@hustlei hustlei added the developing feature is being developed. label Sep 23, 2019
@hustlei
Copy link
Owner

hustlei commented Sep 23, 2019

功能已经添加。
软件打开 xxx.qss 样式文件后,xxx.qss所在目录如果有 xxx.py资源文件会自动加载。
然后就可以在xxx.qss文件中用url(:/img/close.png);引用xxx.py资源文件中的图片了。

ps:目前v1.4里还不能用这个功能。v1.5会一起发布

@hustlei hustlei added enhancement New feature or request good first issue implemented New feature added. and removed developing feature is being developed. labels Sep 23, 2019
@hustlei hustlei closed this as completed Oct 23, 2019
@hustlei hustlei reopened this Nov 8, 2019
@hustlei
Copy link
Owner

hustlei commented Nov 8, 2019

我正在考虑是否增加资源文件路径配置功能

以及生成资源文件的菜单

hustlei pushed a commit that referenced this issue Aug 26, 2021
[ImgBot] Optimize images
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request implemented New feature added.
Projects
None yet
Development

No branches or pull requests

2 participants