Maui.FreakyControls
Maui.FreakyControls copied to clipboard
Handle custom fontsize values in the TextInputLayouts control
Description
If I enter larger number values into the FontSize property of the TextInputLayouts control, the title/placeholder label doesn't resize and position accordingly between the placeholder location and the title location. The app I'm creating is being used for people with accessibility issues in mind where the entry fields/labels need to be large.
Code
<freakyControls:FreakyTextInputLayout Title="Outlined TextInputLayout" BorderCornerRadius="10" BorderStrokeThickness="2" BorderType="Outlined" FontSize="40" //CHANGING THIS VALUE TO SOMETHING LARGER BREAKS THE LABEL />
Expected Behavior
Label should resize and position itself proportionally to match the resized entry control.
Actual Behavior
The title/placeholder label is not sized and positioned proportionally to the larger entry size.
Basic Information
Screenshots
The placeholder text is too small and should match more closely to the font size of the entry field
When text is entered, the title fontsize should proportionally be larger and higher up to hover over the border line
Reproduction Link
I just used the sample app that comes in the freakycontrols repo and changed the fontsize value