Skip to content

Commit

Permalink
(MahAppsGH-4015) Fix FloatingWatermark position when using Left value…
Browse files Browse the repository at this point in the history
… for TextBoxHelper.ButtonsAlignment
  • Loading branch information
punker76 authored and batzen committed Mar 3, 2021
1 parent 533eb5f commit 6f5bad9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/MahApps.Metro/Styles/Controls.TextBox.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
<Setter TargetName="ButtonColumn" Property="Width" Value="*" />
<Setter TargetName="PART_ClearText" Property="Grid.Column" Value="0" />
<Setter TargetName="PART_ContentHost" Property="Grid.Column" Value="1" />
<Setter TargetName="PART_FloatingMessageContainer" Property="Grid.Column" Value="1" />
<Setter TargetName="PART_Message" Property="Grid.Column" Value="1" />
<Setter TargetName="TextColumn" Property="Width" Value="Auto" />
</DataTrigger>
Expand Down Expand Up @@ -389,6 +390,7 @@
<Setter TargetName="ButtonColumn" Property="Width" Value="*" />
<Setter TargetName="PART_ClearText" Property="Grid.Column" Value="0" />
<Setter TargetName="PART_ContentHost" Property="Grid.Column" Value="1" />
<Setter TargetName="PART_FloatingMessageContainer" Property="Grid.Column" Value="1" />
<Setter TargetName="PART_Message" Property="Grid.Column" Value="1" />
<Setter TargetName="TextColumn" Property="Width" Value="Auto" />
</DataTrigger>
Expand Down Expand Up @@ -677,6 +679,7 @@
<Setter TargetName="ButtonColumn" Property="Width" Value="*" />
<Setter TargetName="PART_ClearText" Property="Grid.Column" Value="0" />
<Setter TargetName="PART_ContentHost" Property="Grid.Column" Value="1" />
<Setter TargetName="PART_FloatingMessageContainer" Property="Grid.Column" Value="1" />
<Setter TargetName="PART_Message" Property="Grid.Column" Value="1" />
<Setter TargetName="TextColumn" Property="Width" Value="Auto" />
</DataTrigger>
Expand Down Expand Up @@ -890,6 +893,7 @@
<Setter TargetName="ButtonColumn" Property="Width" Value="*" />
<Setter TargetName="PART_ClearText" Property="Grid.Column" Value="0" />
<Setter TargetName="PART_ContentHost" Property="Grid.Column" Value="1" />
<Setter TargetName="PART_FloatingMessageContainer" Property="Grid.Column" Value="1" />
<Setter TargetName="PART_Message" Property="Grid.Column" Value="1" />
<Setter TargetName="TextColumn" Property="Width" Value="Auto" />
</DataTrigger>
Expand Down

0 comments on commit 6f5bad9

Please sign in to comment.