Skip to content

Conversation

@Hari-Oggy
Copy link

@Hari-Oggy Hari-Oggy commented Oct 6, 2025

This Pull Request fixes/closes #2669.

It changes the following:

  • Added dynamic layout resizing in the status view
  • Introduced new keybindings (Alt+Arrow keys) to adjust horizontal and vertical splits
  • Replaced hardcoded Constraint::Percentage values with configurable state

I followed the checklist:

  • I added unittests
  • I ran make check without errors
  • I tested the overall application
  • I added an appropriate item to the changelog

here is preview:
gituidynamicsizeworking.webm

@Hari-Oggy
Copy link
Author

here is preview :

gituidynamicsizeworking.webm

@cruessler
Copy link
Collaborator

@Hari-Oggy Thanks for the PR!

@extrawurst @naseschwarz I’m wondering whether we should go for the manual solution presented in this PR or rather for an automatic one that doesn’t require manual intervention, but would make customization impossible. What do you think?

@cruessler
Copy link
Collaborator

@extrawurst @naseschwarz Friendly ping: what do you think about whether the left column’s width should be resized automatically by gitui vs. fully controlled by the user?

@Hari-Oggy
Copy link
Author

In this PR, GitUI automatically manages the left column's width while still allowing users to manually adjust both width and height. This approach provides a responsive layout with user customization options.

Screencast.from.2025-10-23.10-15-02.webm

The preview shows two versions:

  • Left side: Standard GitUI with automatic left column width
  • Right side: Same layout with added user width customization options

@extrawurst
Copy link
Collaborator

extrawurst commented Oct 28, 2025

an automatic one that doesn’t require manual intervention, but would make customization impossible. What do you think?

@cruessler what automated solution would that be?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow reducing size of the left column

3 participants