简体   繁体   English

如何更改 xwayland 标题栏上的按钮大小?

[英]how to change the button size on title bar on xwayland?

I'm working on a yocto platform with Qt5 + xwayland backend, there is a issue that the buttons on title bar like close/maximum are too small to click, I changed QT_WAYLAND_FORCE_DPI but it only affects the client area but not title bar.我正在使用 Qt5 + xwayland 后端的 yocto 平台,存在标题栏上的按钮(如关闭/最大值)太小而无法单击的问题,我更改了QT_WAYLAND_FORCE_DPI但它只影响客户区域而不影响标题栏。 and I changed scale in weston.ini but it doesn't work.我在 weston.ini 中更改了比例,但它不起作用。 can anybody give some tips?有人可以给一些提示吗? thanks in advance.提前致谢。

Djiq大疆

Currently I returned to this project and find the way to solve the issue, the title bar is decorated by qt, so just modify the files in wayland/src/plugins/decorations/bradient.目前我回到这个项目并找到解决问题的方法,标题栏是由qt装饰的,所以只需修改wayland/src/plugins/decorations/bradient中的文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM