Skip to content

Commit

Permalink
Change line style to outset when color is given
Browse files Browse the repository at this point in the history
  • Loading branch information
zkovari committed Apr 12, 2023
1 parent 58ab6ce commit ded2f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qthandy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def line(vertical: bool = False, parent=None, color=None) -> QFrame:
line_.setFrameShape(QFrame.HLine)
line_.setFrameShadow(QFrame.Sunken)
if color:
line_.setStyleSheet(f'background-color: {color}; border: 1px solid {color};')
line_.setStyleSheet(f'background-color: {color}; border: 1px outset {color};')

return line_

Expand Down

0 comments on commit ded2f40

Please sign in to comment.