Skip to content

Commit

Permalink
Merge pull request #9 from DarthWynaut/main
Browse files Browse the repository at this point in the history
Added round corners
  • Loading branch information
devansharora18 authored Oct 31, 2023
2 parents cd77ab4 + 2252683 commit 29486fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def add_color_to_ui(self, color):
color_block = QLabel()
color_block.setMaximumSize(200, 200)
color_block.setMinimumSize(100, 100)
color_block.setStyleSheet(f"background-color: {color.name()};")
color_block.setStyleSheet(f"background-color: {color.name()}; border-radius: 10px;")

hex_label = QLabel(color.name())
hex_label.setStyleSheet("font-size: 20px;")
Expand Down

0 comments on commit 29486fa

Please sign in to comment.