Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.15, 6.5
-
None
Description
Years ago, a change to qcssparser introduced the possibility to use float values for the alpha component in stylesheets.
While the support may be welcome, it makes using 0-255 integer values problematic (which is what the documentation states should be done) because 1 is always interpreted as 1.0.
While it may be argued that 1 would be practically transparent and one would theoretically never need such a value, it's still a problem in case style sheets might be computed dynamically, and completely inconsistent with the documented behavior.
Attachments
Issue Links
- duplicates
-
QTBUG-40678 Alpha = 1, makes the object totally opaque instead of nearly transparent
- Reported
-
QTBUG-127570 Not Ideal/Impossible to set the transparency of a widget to 1 (0 - 255).
- Closed
- is duplicated by
-
QTBUG-127570 Not Ideal/Impossible to set the transparency of a widget to 1 (0 - 255).
- Closed