Reputation: 60224
Is it possible to change line space for Project window only in Intellij IDEA? I've seen "Overrride default fonts" in Settings which is "not recommended". Is there a recommended way to do that? Thanks.
Upvotes: 30
Views: 18447
Reputation: 51
LaF Default solution does not work after restart IntelliJ IDEA 2024.1.1
I solved this by
Help -> Edit Custom Properties...
Add height value - 20 or whatever you need
ide.override.Tree.rowHeight=20
Restart IDEA
Upvotes: 5
Reputation: 158
LaF Default solution of @shooma is still working.
Here are the steps: First Three steps is still the same as @shooma's solution but need further steps to apply your changes.
Here are the next new steps
Go to Settings > Appearance
Change Font Size to anything (e.g: 13)
Apply ( you should be able to see the difference, you can try rowHeight 40 to see big difference )
-optional- Change it back to your Font Size (you may not need this step if you are satisfied with your current font size)
Upvotes: 1
Reputation: 4895
You can create a Plugin Theme, and set Tree.rowHeight and List.rowHeight to X.
Juste wrote a tutorial about it: https://medium.com/@let92/set-line-height-in-project-view-of-jetbrains-ide-36c07de3254
Upvotes: 1
Reputation: 1722
version: IntelliJ IDEA Community Edition 2020.3.2
File-> Settings-> Editor-> Font-> Line spacing
Upvotes: 2
Reputation: 495
Found solution in IDEA ticket (thanks for support help!):
Enable "Internal Mode"
Open "Find Action" (Ctrl-Shift-A), find "LaF Defaults" and press Enter
Find "Tree.rowHeight" property and change it
Value 20 is perfect for me
Upvotes: 34
Reputation: 389
I solved this by using Material Theme. Settings -> Appearance & Behavior -> Material Theme -> Project View -> Custom Sidebar Height.
Upvotes: 28
Reputation: 9374
I think it's possible only for editor. You can change it using this settings panel:
Upvotes: 14