Skip to content

Commit

Permalink
1. 给大乱斗buff控件添加了分隔线
Browse files Browse the repository at this point in the history
2. 在显示大乱斗buff控件时, 如果超出了屏幕上边缘, 移至头像底下显示
  • Loading branch information
Hpero4 committed May 20, 2024
1 parent bee3b97 commit 69fee7c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/components/profile_level_icon_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,9 @@ def calcPoints(self):
if x < 5:
x = 5

if y < 5:
y = pos.y() + self.target.height() + 5

return QPoint(x, y)

def __initWidgets(self):
Expand Down
5 changes: 5 additions & 0 deletions app/resource/qss/dark/aram_flyout.qss
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,9 @@
#powerByLabel {
font: 12px 'Microsoft YaHei', 'Segoe UI';
color: gray;
}

#descriptionLabel {
border-top: 1px solid rgba(0, 0, 0, 80);
margin-top: 10px;
}
5 changes: 5 additions & 0 deletions app/resource/qss/light/aram_flyout.qss
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,9 @@
#powerByLabel {
font: 12px 'Microsoft YaHei', 'Segoe UI';
color: gray;
}

#descriptionLabel {
border-top: 1px solid rgba(0, 0, 0, 80);
padding-top: 10px;
}

0 comments on commit 69fee7c

Please sign in to comment.