---
title: "windowToolbarLabelStyle(fixed:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/scene/windowtoolbarlabelstyle(fixed:)"
---

# windowToolbarLabelStyle(fixed:)

Sets the label style of items in a toolbar.

## Declaration

```swift
nonisolated func windowToolbarLabelStyle(fixed: ToolbarLabelStyle) -> some Scene

```

## Parameters

- `fixed`: The toolbar label style to apply.

## Discussion

Discussion Use this modifier to set a static ToolbarLabelStyle the toolbar should use. The style will not be configurable by the user.     @main     struct MyApp: App {         var body: some Scene {             WindowGroup {                 ContentView()                     .toolbar(id: "browserToolbar") {                         ...                     }             }             .windowToolbarLabelStyle(fixed: .iconOnly)         }     }

## See Also

### Styling the associated toolbar

- [windowToolbarStyle(_:)](swiftui/scene/windowtoolbarstyle(_:).md)
- [windowToolbarLabelStyle(_:)](swiftui/scene/windowtoolbarlabelstyle(_:).md)
- [WindowToolbarStyle](swiftui/windowtoolbarstyle.md)
