use width instead of implicitWidth in the states
use width instead of implicitWidth in the states

this seems to be more reliable than using implicitWidth
in some cases it caused a crash internal to the layouting code
in Qt (subsurface used to crash with the revision before this one)

bearsh/kirigami,bearsh/kirigami