Fix comments about graphics for plasma components enabled/disabled properties
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
This commit is contained in:
parent
4ff2523d13
commit
3ab58b3877
@ -60,7 +60,9 @@ Item {
|
||||
|
||||
width: 50
|
||||
height: 20
|
||||
opacity: enabled ? 1.0 : 0.5 // XXX: temporary solution
|
||||
// TODO: needs to define if there will be specific graphics for
|
||||
// disabled buttons
|
||||
opacity: enabled ? 1.0 : 0.5
|
||||
|
||||
Keys.onSpacePressed: pressButton();
|
||||
Keys.onReturnPressed: pressButton();
|
||||
|
@ -36,7 +36,9 @@ Item {
|
||||
|
||||
width: surface.width + label.paintedWidth
|
||||
height: surface.height
|
||||
opacity: dualButton.enabled ? 1.0 : 0.5 // XXX: temporary solution
|
||||
// TODO: needs to define if there will be specific graphics for
|
||||
// disabled buttons
|
||||
opacity: dualButton.enabled ? 1.0 : 0.5
|
||||
|
||||
function entered() {
|
||||
if (dualButton.enabled) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user