Skip to content

Inconsistent FloatingWatermark Alignment #2627

@AndrzejKl

Description

@AndrzejKl

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;

image
image

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

  • MahApps.Metro v1.3.0.ALPHA 190
  • Windows 10
  • Visual Studio 2015
  • .NET Framework 4.5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions