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:
8 files changed
+52
-30
No files matched your search
@@ -42,7 +42,7 @@ public sealed class UploaderScreenSmokeTests
|
||||
Assert.Null(vm.Connect.ErrorText);
|
||||
foreach (var box in screen.Visible<TextBox>())
|
||||
Assert.False(Validation.GetHasError(box), $"{AutomationProperties.GetName(box)} shows an error before use");
|
||||
Assert.False(screen.Named<Border>("PasswordErrorRing").IsVisible, "the password box shows no error before use");
|
||||
Assert.False(Field.GetHasError(screen.Named<PasswordBox>("Password")), "the password box shows no error before use");
|
||||
screen.AssertIconButtonsNamed("connect");
|
||||
|
||||
// Enter signs in from the form, not from the settings panel drawn over it.
|
||||
|
||||
Reference in new issue
Block a user