Created new method to perform more accurate dynamic resizing based on size of individual characters. Sample project utilizes this method by default.
Resizing will not shrink the text field past what was the initially-specified width. Clearing text with text button resizes.
Tapping off of text field shrinks field to compensate for absence of clear text button. Increased clear text button offset to resolve text resizing issue.
Added current default functionality (of expanding/shrinking to compensate every inserted/removed character) to the dynamic resizing preference.
Added default expansion behavior (expansion which compensates for clear button only).
Fixed decimal option works with recent changes and resizes appropriately.
Addresses issue where (with fixed decimal and dynamic resizing options on) text field would first update the text field and then perform the expansion, causing the text to appear truncated for a split second.
Merge branch 'refactor'