Skip to content

Commit

Permalink
Update layout
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Sep 5, 2024
1 parent 119957c commit e8dbba6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,13 @@ Running this example with
cargo run --example counter
```

will launch the app with the platform-specific default backend:
will launch the app with the platform-specific default backend, e.g. SwiftUI on macOS:

| SwiftUI | Adwaita (GTK4) |
| - | - |
| <img src="screenshots/counter-swiftui.png" height="300"> | <img src="screenshots/counter-adwaita.png" height="300"> |
<img src="screenshots/counter-swiftui.png" height="300">

Using the Adwaita/GTK4 the app looks as follows:

<img src="screenshots/counter-adwaita.png" height="300">

> [!TIP]
> On platforms that support multiple backends you can explicitly choose a backend via the `NUIT_BACKEND` environment variable:
Expand Down

0 comments on commit e8dbba6

Please sign in to comment.