Skip to content

Customize level for expandFocusedSidePanel #1937

@c02y

Description

@c02y

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

} 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:

Before:
image

After:
image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions