-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I set expandFocusedSidePanel = true in my config.yml, but the room for expandFocusedSidePane is still too small.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Minimize all the other side panels (like Status side panel), make room for focused side panel as much as possible, or provide a value such as expandFocusedSidePaneHeight for users, just like sidePanelWidth.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
I can get what I need Minimize all the other side panels by modify
lazygit/pkg/gui/arrangement.go
Lines 287 to 295 in 8c04118
| } else if height >= 28 { | |
| accordionMode := gui.c.UserConfig.Gui.ExpandFocusedSidePanel | |
| accordionBox := func(defaultBox *boxlayout.Box) *boxlayout.Box { | |
| if accordionMode && defaultBox.Window == currentWindow { | |
| return &boxlayout.Box{ | |
| Window: defaultBox.Window, | |
| Weight: 2, | |
| } | |
| } |
Simply changing Weight: 2, into something like Weight: 100,, the layout will be:
But I believe it is just a bigger fixed value which is definitely a stupid solution, a variable like expandFocusedSidePaneHeight which is a percentage would be perfect.

