Skip navigation
Rust GPUI - Removing Title Bar
0:00 / 0:39

Rust GPUI - Removing Title Bar

Jeremy Chone

@jeremychone2.3K followers

Visit on X
220 likesDownloadOriginal post

14,688 views #rustlang

Rust GPUI - Removing Title Bar win_options.titlebar = None but... #rustlang

8 Comments

Comments from the original post on X (Twitter)

  • Hasnain Izhar's profile picture

    @TheHasnainIzhar

    GPUI, one of the best thing ever made

    2 likes

  • Jeremy Chone's profile picture

    @jeremychone

    Yes, whoever designed it knew a thing or two about building UI core frameworks. The GPUI-KIT guys also did great work. You can use raw gpui-component and gpui-base, without the full gpui-kit package. That is good architecture. I was going to do my desktop UI as a webview, even over localhost, but now I am questioning that.

  • Jaume Martin's profile picture

    @JaumeMartinJYA

    I love gpui. Waiting for you to take a look at NSH, I ported all of my gpui apps to it, for easier compat with mobile, it's good. But still looking to the gpui evolution. Nice video yesterday btw

    1 like

  • Jeremy Chone's profile picture

    @jeremychone

    Thanks, for now I am going to focus on GPUI. For Web, I like js/css/html and customElements But I can see the appeal of NSH

  • Q's profile picture

    @frontendnomad

    how did you get instant compilation

    1 like

  • Jeremy Chone's profile picture

    @jeremychone

    Not instant, but pretty fast (Instant was video cuts, I don't talk when compile, so, get cut during editing) Now, it was relatively fast, about a couple of seconds. 1) First, project is very small. 2) Then, Cargo.toml profile below helps a little. 3) M5 Max, maxed out There are techniques to get faster on bigger projects, but I have not dug into them yet. But for me, with code base is 80k loc (mono crate), and compile time is decent.

  • John Yani's profile picture

    @JohnYani

    I'd argue adding the title bar in the first place is harder

  • マイケル (Michael)'s profile picture

    @m_koshikov

    Прикинь, на любой операционной системе можно убрать тайтлбар только вместе со всеми рамками, просто эта опция называется неправильно