Adjust iOS language picker width framing

This commit is contained in:
h3p 2026-03-26 10:40:30 +01:00
parent 4cdfe5f380
commit a8a0455ceb
2 changed files with 3 additions and 4 deletions

View file

@ -361,7 +361,7 @@
CODE_SIGNING_ALLOWED = YES;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 555;
CURRENT_PROJECT_VERSION = 558;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = CS727NF72U;
ENABLE_APP_SANDBOX = YES;
@ -444,7 +444,7 @@
CODE_SIGNING_ALLOWED = YES;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 555;
CURRENT_PROJECT_VERSION = 558;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = CS727NF72U;
ENABLE_APP_SANDBOX = YES;

View file

@ -288,14 +288,13 @@ extension ContentView {
Capsule()
.stroke(iOSToolbarTintColor.opacity(0.35), lineWidth: 1)
)
.frame(width: isIPadToolbarLayout ? 112 : iPhoneLanguagePickerWidth)
#endif
}
.labelsHidden()
.help("Language")
.accessibilityLabel("Language picker")
.accessibilityHint("Choose syntax language for the current tab")
.frame(width: isIPadToolbarLayout ? 112 : iPhoneLanguagePickerWidth)
.fixedSize(horizontal: true, vertical: false)
.layoutPriority(2)
.tint(iOSToolbarTintColor)
#if os(iOS)