Add dragaxis attribute to dragstate
Only measure the width if text.measuresize, fix resizing when the multiline attribute changes