tauri-apps/tauri

[bug] CheckMenuItem not aligned

Opened this issue · 0 comments

Describe the bug

When CheckMenuItem is used in the menu, the entire submenu does not seem to be aligned with the title and is offset slightly to the left.

Screenshot 2024-12-08 at 12 05 49

Reproduction

No response

Expected behavior

The submenu popup and title are left-aligned, and the behavior is the same as using MenuItem

Full tauri info output

[✔] Environment
    - OS: Mac OS 15.1.1 arm64 (X64)
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.79.0 (129f3b996 2024-06-10)
    ✔ cargo: 1.79.0 (ffa9cf99a 2024-06-03)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 20.16.0
    - pnpm: 9.14.4
    - npm: 10.8.1
    - bun: 1.1.13

[-] Packages
    - tauri 🦀: 2.1.1
    - tauri-build 🦀: 2.0.3
    - wry 🦀: 0.47.2
    - tao 🦀: 0.30.8
    - @tauri-apps/api : 2.1.1
    - @tauri-apps/cli : 2.1.0

[-] Plugins
    - tauri-plugin-shell 🦀: 2.0.2
    - @tauri-apps/plugin-shell : 2.0.1

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:7000/
    - framework: React
    - bundler: Vite

Stack trace

No response

Additional context

No response