gitui icon indicating copy to clipboard operation
gitui copied to clipboard

Give more space to right-side diff view

Open hongquan opened this issue 2 months ago • 0 comments

In the "inspect commit" view, the left pane (for commit message and list of changed files) and the right pane (for viewing diff) each takes a half of the window. It is not reasonable because the right pane has more content to show

image

This PR is to give more space to the right pane.

image image image

It changes the following:

  • Change the layout constraints to reduce the width of the left pane.
  • Provide different constraints for different window size, so that the left pane width is reasonable.

I followed the checklist:

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

hongquan avatar Nov 01 '25 16:11 hongquan