Repository navigation
feat: add core.Zero, plain ui.Field and reorganize the gallery's inputs - #2243
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…yboard pages Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
oneo-me
enabled auto-merge (rebase)
November 23, 2026 13:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
core.Zero: a length that is set, ascore.Transparentis a color, so a style can setPadding,Margin,Borders,BorderWidth,CornerRadiusor a gap to none over another style's.restyleturns it to 0 in a view's committed style, so layout and backends never see it.ui.Fielddraws its box on the field itself, under the caller's style:Background: core.Transparent, BorderWidth: core.Zeroturns it off, for text that reads as plain text but edits. Its static colors now win over its look.ui.Inputloses its padding withPadding: core.All(core.Zero).uifields (aui.Fieldcard, keyboard types, autofill, a plain title) without the gallery's own field look or a working form; a Form page holdsFormFieldandFormSection; a Mobile keyboard page under Platform holds the keyboard's height, dismissal, sheet and message bar.Testing
go tool nsgo check, and-target ios,android,web,windows,linuxgo tool nsgo test:TestZeroTakesAwayALength,TestField,TestInputPaddingOff,TestInputPage🤖 Generated with Claude Code