Size of scale improved

Never scaled to 0, 0.
Removed obsolete function
Partial conversion of element attributes to numbers

With full widget attributes.