[Window Manager] 如何修改gtk主题修复火狐极小关闭按钮?
Tofloor
poster avatar
神末shenmo
deepin
Spark-App
Q&A Team
2021-08-07 16:39
Author

只在deepin/uos下,火狐浏览器无标题栏模式的关闭按钮极其小

灵魂确认,这是因为deepin的gtk主题设置有问题

位置在/usr/share/themes/deepin

应该是gtk3

然而本人不会修改css.....

求大神帮助

Reply Favorite View the author
All Replies
BG7ZAG
deepin
2021-08-07 17:31
#1

怎么看关闭按钮用了哪个样式类?

Reply View the author
BG7ZAG
deepin
2021-08-07 17:45
#2
BG7ZAG

怎么看关闭按钮用了哪个样式类?

看了一下,不知道怎么调试,找不到外层大小样式在哪

Reply View the author
Hello
deepin
2021-08-07 18:16
#3

试试看把assets里面的几个按钮都换成大的

Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2021-08-07 19:21
#4
Hello

试试看把assets里面的几个按钮都换成大的

关闭按钮大小不是css决定的吗

直接替换不会出问题吧

因为整个栏都非常窄。。

 

Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2021-08-07 19:21
#5
BG7ZAG

看了一下,不知道怎么调试,找不到外层大小样式在哪

太乱了吗

Reply View the author
BG7ZAG
deepin
2021-08-07 22:11
#6
神末shenmo

太乱了吗

没法向网页那样调试,我改了下大小,只能变小,不能变大,感觉是整个header限制高的

Reply View the author
pzm9012
Moderator
2021-08-07 23:19
#7

https://bbs.deepin.org/zh/post/210071

看看这个,楼主在11楼发了一个修改版,解决了火狐按钮偏小的问题

Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2021-08-08 00:53
#8
pzm9012

https://bbs.deepin.org/zh/post/210071

看看这个,楼主在11楼发了一个修改版,解决了火狐按钮偏小的问题

好久不见啊哥,近况如何?

Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2021-08-08 00:57
#9
BG7ZAG

看了一下,不知道怎么调试,找不到外层大小样式在哪

可以看一下精选评论的链接

Reply View the author
pzm9012
Moderator
2021-08-08 16:49
#10
神末shenmo

好久不见啊哥,近况如何?

还行,电脑还是一如既往地破,我在论坛也很少活跃了,偶尔搞些资源整理  https://bbs.deepin.org/zh/post/220750

Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2021-08-09 01:31
#11
BG7ZAG

没法向网页那样调试,我改了下大小,只能变小,不能变大,感觉是整个header限制高的

Reply View the author
Hello
deepin
2021-08-12 05:14
#12

可以直接替换主题,gnome的主题对于深度也适用

把gnome下载的主题解压放到.local/share/themes/deepin里就好了,做gtk应用时候发现的

Reply View the author
Hello
deepin
2021-08-12 05:14
#13

但是有个问题,就是gtk的圆角怎么样也产生不了,不知道深度对gtk应用做了什么

Reply View the author