[fix] LCENavigationView: remove phantom glass button, center title safely #11

Merged
daniel-loverde merged 1 commits from fix/navigation/glass-duplicate-button into main 2026-09-01 16:26:03 -03:00

Dummy mirrored button used to balance title centering rendered as a
visible empty glass pill under iOS 26's automatic button chrome. Side
buttons now only render when actually configured, title centers via
ZStack independent of button widths, and title padding is derived from
measured button width so long titles truncate instead of overlapping.
Glass button style is opt-in via setGlassButtonsEnabled(_:), off by
default.

Dummy mirrored button used to balance title centering rendered as a visible empty glass pill under iOS 26's automatic button chrome. Side buttons now only render when actually configured, title centers via ZStack independent of button widths, and title padding is derived from measured button width so long titles truncate instead of overlapping. Glass button style is opt-in via setGlassButtonsEnabled(_:), off by default.
daniel-loverde added 1 commit 2026-09-01 16:25:57 -03:00
Dummy mirrored button used to balance title centering rendered as a
visible empty glass pill under iOS 26's automatic button chrome. Side
buttons now only render when actually configured, title centers via
ZStack independent of button widths, and title padding is derived from
measured button width so long titles truncate instead of overlapping.
Glass button style is opt-in via setGlassButtonsEnabled(_:), off by
default.
daniel-loverde merged commit 1d5067212a into main 2026-09-01 16:26:03 -03:00
daniel-loverde deleted branch fix/navigation/glass-duplicate-button 2026-09-01 16:26:03 -03:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Loverde-Company-LTDA/LCEssentials#11
No description provided.