#🔒 Progress Bar

9 messages · Page 1 of 1 (latest)

opaque cedar
#

Hi my progress bar looks really bad at the beggining bad and idk why if someone can help me

progress_bar = QProgressBar()
progress_bar.setValue(0)
progress_bar.setFixedHeight(20)
progress_bar.setStyleSheet("""
QProgressBar {
background-color: #2c2c3c;
border: none;
border-radius: 10px; /* Coins arrondis /
text-align: center;
color: #ffffff;
font-size: 14px;
}
QProgressBar::chunk {
background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #7b1fa2, stop:1 #8e24aa);
border-radius: 10px; /
Coins arrondis pour le remplissage /
margin: 0px; /
Supprime les marges */
}
""")
progress_layout.addWidget(progress_bar)

amber sealBOT
#

@opaque cedar

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

#

Hey @opaque cedar!

Please edit your message to use a code block

You are using the wrong character instead of backticks. Use ```, not """.

wicked topaz
#

"looks bad"

strange ember
#

looks are subjective, and no progress bar is accurate persay, so dont stress to much on it

oblique ginkgo
#

Hi ! wanna explain what you don't like in your bar ?

opaque cedar
amber sealBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.