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
4.99k stars 464 forks source link

[Bug]: InfoBadge covers navigation menu, but it can't be clicked. #870

Closed gaoming714 closed 1 month ago

gaoming714 commented 2 months ago

What happened?

微信截图_20240508175921 InfoBadge covers navigation menu( on the pic, 12 cover the icon ). I try to click the menu, but Half of the icon is obscured. can you make the icon have the same clickable function?

Operation System

win11

Python Version

3.11

PyQt/PySide Version

pyside6 6.7.0

PyQt/PySide-Fluent-Widgets Version

1.5.6

How to Reproduce?

all the time

Minimum code

navItem = self.navigationInterface.widget(widgetName)
        InfoBadge.attension(
            text=12,
            parent=navItem.parent(),
            target=navItem,
            position=InfoBadgePosition.NAVIGATION_ITEM
        )