-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent FloatingWatermark Alignment #2627
Comments
I will look into that issue |
I checked the issue with the newest sources and the floating watermarks are always aligned to the value set to HorizontalContentAlignment. Is NumericUpDown this value is set by default to Right |
@xxMUROxx that's right, see my Edit. |
@punker76 what do you think? |
What steps will reproduce this issue?
Just add TextBox, DatePicker and NumericUpDown to MetroWindow and activate Floating Watermarks
Write problem description here
For TextBox Alignment is Left;
For DatePicker is Center;
For NumericUpDown is Right;
Expected outcome
Should be the same or should be possible to change it, like:
Controls:TextBoxHelper.FloatingWatermarkAlignment="Left, Center, Right"
EDIT:
I found way to align it - it reacts for HorizontalContentAlignment, but DatePicker and TextBox Text also reacts on it. Only it works correctly with NumericUpDown control. It have own property TextAlignment, so I can separately align Text and Watermark.
Environment
The text was updated successfully, but these errors were encountered: