Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vertical Slider Bars Colors inverted #150

Closed
marcelomanzo opened this issue May 2, 2019 · 8 comments
Closed

Vertical Slider Bars Colors inverted #150

marcelomanzo opened this issue May 2, 2019 · 8 comments
Assignees
Milestone

Comments

@marcelomanzo
Copy link

The blue line of the vertical sliders bars is inverted, when you compare with the horizontal one, the blue portion is on the min side.

The vertical on the other hand has gray on the min side.

image

@marcelomanzo
Copy link
Author

Information about your current environment setup:

QDarkStyle: 2.6.6
OS: Windows 10 AMD64
Platform: win32
Python: 3.6.5.final.0
Python API: 1013
Binding in use: Not set or nonexistent
Abstraction in use: Not set or nonexistent
qtpy (QT_API): Not set or nonexistent
pyqtgraph (PYQTGRAPH_QT_LIB): Not set or nonexistent
Qt.py (binding): Not set or nonexistent
Qt bindings available:

PySide2
Qt abstraction layers available:

@dpizetta
Copy link
Collaborator

dpizetta commented May 3, 2019

TKS for reporting, nice catch.

@marcelomanzo
Copy link
Author

issue still persists...

image

(srsvenv) C:\temp\srsvenv\Scripts>qdarkstyle --all

  • OPERATING SYSTEM---------------------------------------------------------------
    • System........................ Windows
    • Release....................... 10
    • Platform...................... Windows-10-10.0.17763-SP0
    • Version....................... 10.0.17763
  • PYTHON DISTRIBUTION------------------------------------------------------------
    • Version....................... 3.7.0
    • C Compiler.................... MSC v.1914 64 bit (AMD64)
    • C API Version................. 1013
    • Implementation................ cpython
    • Implementation Version........ 3.7.0
  • QT BINDINGS--------------------------------------------------------------------
    • PySide2 Version............... 5.12.3
    • PySide2 Qt Version............ 5.12.3
  • QT ABSTRACTIONS----------------------------------------------------------------
    • Status........................ No Qt abstractions available!
  • PYTHON PACKAGES----------------------------------------------------------------
    • helpdev....................... 0.6.10

@marcelomanzo
Copy link
Author

this is the correct compiled version for reference

QSlider --------
----------------
----------------
----------------
-------- */\x0a\x0aQSl
ider:disabled {\x0a
background:
#19232D;\x0a}\x0a\x0aQSli
der:focus {\x0a
border: none;\x0a}\x0a
\x0aQSlider::groove
:horizontal {\x0a
background: #3
2414B;\x0a borde
r: 1px solid #32
414B;\x0a height
: 4px;\x0a margi
n: 0px;\x0a bord
er-radius: 4px;\x0a
}\x0a\x0aQSlider::sub-
page:horizontal
{\x0a background
: #1464A0;\x0a b
order: 1px solid
#32414B;\x0a he
ight: 4px;\x0a m
argin: 0px;\x0a
border-radius: 4
px;\x0a}\x0a\x0aQSlider::
sub-page:horizon
tal:disabled {\x0a
background: #
14506E;\x0a}\x0a\x0aQSlid
er::handle:horiz
ontal {\x0a back
ground: #787878;
\x0a border: 1px
solid #32414B;\x0a
width: 8px;\x0a
height: 8px;
\x0a margin: -8p
x 0;\x0a border-
radius: 4px;\x0a}\x0a\x0a
QSlider::handle:
horizontal:hover
{\x0a backgroun
d: #148CD2;\x0a
border: 1px soli
d #148CD2;\x0a}\x0a\x0aQS
lider::groove:ve
rtical {\x0a bac
kground: #1464A0
;\x0a border: 1p
x solid #32414B;
\x0a width: 4px;
\x0a margin: 0px
;\x0a border-rad
ius: 4px;\x0a}\x0a\x0aQSl
ider::sub-page:v
ertical {\x0a ba
ckground: #32414
B;\x0a border: 1
px solid #32414B
;\x0a width: 4px
;\x0a margin: 0p
x;\x0a border-ra
dius: 4px;\x0a}\x0a\x0aQS
lider::sub-page:
vertical:disable
d {\x0a backgrou
nd: #14506E;\x0a}\x0a\x0a
QSlider::handle:
vertical {\x0a b
ackground: #7878
78;\x0a border:
1px solid #32414
B;\x0a width: 8p
x;\x0a height: 8
px;\x0a margin:
0 -8px;\x0a bord
er-radius: 4px;\x0a
}\x0a\x0aQSlider::hand
le:vertical:hove
r {\x0a backgrou
nd: #148CD2;\x0a
border: 1px sol
id #148CD2;\x0a}\x0a\x0a/\

@goanpeca goanpeca reopened this May 19, 2019
@goanpeca
Copy link
Collaborator

Will take a look at this @dpizetta @marcelomanzo

@goanpeca goanpeca self-assigned this May 19, 2019
@goanpeca goanpeca added this to the 2.7 milestone May 19, 2019
@dpizetta
Copy link
Collaborator

dpizetta commented May 19, 2019

@marcelomanzo could you run the example that is in example/example.py and check the slides there also? TKS

Screenshot Linux 2019-05-20 14 35 59

This should be fixed in the current version. The last changes I've made was directly in style.qss, maybe it is not in the scss...

@marcelomanzo
Copy link
Author

Works like a charm:
pip install git+git://github.com/ColinDuquesnoy/QDarkStyleSheet.git@d553852

image

@dpizetta
Copy link
Collaborator

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants