Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I make my vsc look like this with custom-css like I did with Apc? #230

Open
Ender-Wang opened this issue Oct 9, 2024 · 8 comments
Open
Labels

Comments

@Ender-Wang
Copy link

I am using Apc Customize UI++ to customize vsc but recently MS changes a lot and it breaks Apc, so I am wondering if I can use custom-css to make vsc looks like the way I did with Apc, cause the discussions ongoing on Apc's repo hints the author may not have time to adapted to MS's breaking changes on vsc for every release, so I am looking for opts to do it my self since what I want to change with vsc is not that complex, here's what my vsc looks like:
CleanShot_2024-10-09_11-46-16

  • Bottom activity bar (I know we have opt to change the position of activity bar in vsc natively now, but heard that we cannot change the size or sth)
  • Get ride of title bar completely (the thing I wanna get ride of mostly)
  • Traffic light position? (It would be nice if I can do this with custom-css)

Much appreciated for hints or discussion on the possibilities of making vsc looks like what I did with Apc :D

@kyds3k
Copy link

kyds3k commented Oct 11, 2024

@Ender-Wang did you ever figure this out?

@Ender-Wang
Copy link
Author

Ender-Wang commented Oct 11, 2024

@Ender-Wang did you ever figure this out?

I managed to disappear the title bar and shift the rest of the UI upwards 35px, but there's another 35px blank at the bottom, which I cannot figure it out. Tried css and also js, still not working 🤣, the problem is that MS hard coded the height of some UI elements with style "top:35px". If you move the UI elements upwards 35px to fill the blank where the title bar was, the high of the element you are moving doesn't change and it needs to be 35px higher so there won't be blank space below, try using JS to do it, but seems it's not that easy, I must missed sth else.

Edit: So now I am turning vsc stock settings to make it look good in here.

@Ender-Wang
Copy link
Author

Ender-Wang commented Oct 11, 2024

I found a glitch that you can hide title bar completely:

  1. CleanShot_2024-10-11_18-39-27
  2. Then set "window.titleBarStyle": "native", you will be prompt to restart, but do not, and you will see your title bar is completely gone like this:
    CleanShot_2024-10-11_18-26-50

@lethefrost
Copy link

I found a glitch that you can hide title bar completely:

  1. CleanShot_2024-10-11_18-39-27
  2. Then set "window.titleBarStyle": "native", you will be prompt to restart, but do not, and you will see your title bar is completely gone like this:
    CleanShot_2024-10-11_18-26-50

This doesn't work for me 🤔

@lethefrost
Copy link

I am also a refugee from APC (and two years ago a VSCode update broke Customize UI... how familiar it feels). So sad. If anyone finds a way to make the window frameless please let me know... ._.

@Ender-Wang
Copy link
Author

This doesn't work for me 🤔

I have these changes in settings (not settings.json) below about Window, then set this in settings.json: "window.titleBarStyle": "native" ( you should have this line in settings as "window.titleBarStyle": "custom", then save it, then restart, then change it to native without restarting to do the trick.) It works for me every time.
CleanShot_2024-10-12_10-46-22

I think these settings are what matters for the trick, I leave this settings as they're, only trick I did is changing titleBarStyle to native in settings json, as I said above.
CleanShot_2024-10-12_10-49-46

Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.

@github-actions github-actions bot added the stale label Dec 12, 2024
@jdanbrown
Copy link

@Ender-Wang @kyds3k @lethefrost In case still helpful, you can make frameless windows in vscode using @subframe7536's new custom-ui-style extension:

More context in this apc-extension issue:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants