zhiyiYo / PyQt-Fluent-Widgets

A fluent design widgets library based on C++ Qt/PyQt/PySide. Make Qt Great Again.
https://qfluentwidgets.com
GNU General Public License v3.0
5.49k stars 523 forks source link

setColumnCount 的bug修复 #898

Open Liruochen1207 opened 3 months ago

Liruochen1207 commented 3 months ago

我在对 https://github.com/zhiyiYo/PyQt-Fluent-Widgets/issues/823 中提到的选项框错误渲染的bug进行了修复

image

重写了setColumnCount方法,让横向堆叠tree-widget时不会以垂直的形式渲染

Liruochen1207 commented 3 months ago

修复后如图,选项框不再出现白色横条 image

zhiyiYo commented 3 months ago

这样改不会导致平滑滚动出问题吗