Change state property within a current state?
Is there a way to change a state property to use the default property
example: default button_inactive is visible then when i change the state it changes to button_active
how could i change the current state(keep everything else the same) and just change button_active back to button_inactive
Code:
PropertyChanges { target: back_normal; x: 222; y: 5; }
PropertyChanges { target: back_inactive; x: -(parent.width * 500); }
default would be back_inactive x: 222; y: 5
Re: Change state property within a current state?
You change the state by assigning the state name to object's "state" property.