Giter VIP home page Giter VIP logo

Comments (7)

zhiyiYo avatar zhiyiYo commented on May 18, 2024

发个图康康,如果这里被你的qss覆盖了,其他部件应该也会出问题啊,你是不是改了一些东西

from pyqt-fluent-widgets.

Cheukfung avatar Cheukfung commented on May 18, 2024

以demo为例子,demo.qss加一段,QPushButton { color:red; },cancelbutton的字体也会被覆盖。
image

from pyqt-fluent-widgets.

zhiyiYo avatar zhiyiYo commented on May 18, 2024

测试了一下发现很多组件都有这个问题,得集体改改了

from pyqt-fluent-widgets.

zhiyiYo avatar zhiyiYo commented on May 18, 2024

目前已修复该问题

from pyqt-fluent-widgets.

zhiyiYo avatar zhiyiYo commented on May 18, 2024

这个问题你有什么想法吗,除了直接改spacing外:#19

from pyqt-fluent-widgets.

Cheukfung avatar Cheukfung commented on May 18, 2024

感谢修复。
另外那个问题应该是Mac的bug导致的,我用的qtdesigner做的主ui,没有出现bug。我猜测是因为qtdesigner默认加了setAttribute(Qt.WA_LayoutUsesWidgetRect);
具体请看https://stackoverflow.com/questions/3978889/why-is-qhboxlayout-causing-widgets-to-overlap
如果把dialog代码的spacing设置为0,就会出现和这个链接一样的控件重叠bug,只存在于Mac

from pyqt-fluent-widgets.

zhiyiYo avatar zhiyiYo commented on May 18, 2024

感谢

from pyqt-fluent-widgets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.