fix(ui): text and password boxes pad their text once; shared password error state

- The text box hands its Padding to the content host itself; the template no longer adds it again, so
  typed text starts where the placeholder does (12 px, 8 px after a leading icon). Same for the password box.
- ui:Field.Error marks an input without a validating binding (a password box) with the error border and
  makes the sentence its help text; the Uploader and the login dialog use it instead of drawing their own.
- The brand mark keeps its orientation by itself; the local left-to-right settings are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-06 08:10:36 +00:00
1 parent 70dc18787a
commit a7f5f83e04
8 files changed
+52 -30

No files matched your search

+1 -2
View File
@@ -9,8 +9,7 @@
<Border Style="{StaticResource Border.Panel}" Padding="28,24" HorizontalAlignment="Left" VerticalAlignment="Top" MinWidth="600">
<StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,0,0,22">
<!-- The mark keeps its clockwise ring and its sun on the right in every reading direction. -->
<ui:BrandMarkIcon Width="56" Height="56" ShowPlate="True" FlowDirection="LeftToRight" />
<ui:BrandMarkIcon Width="56" Height="56" ShowPlate="True" />
<StackPanel Margin="16,0,0,0" VerticalAlignment="Center">
<TextBlock Text="{l:Loc Shell.AppName}" Style="{StaticResource Text.PageTitle}" FontSize="22" />
<TextBlock Text="{Binding Version}" Style="{StaticResource Text.Secondary}" Margin="0,2,0,0" Typography.NumeralAlignment="Tabular" />