New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update layout #8510
Update layout #8510
Conversation
Codecov Report
@@ Coverage Diff @@
## master #8510 +/- ##
==========================================
- Coverage 55.05% 55.05% -0.01%
==========================================
Files 901 901
Lines 65043 65047 +4
Branches 11726 11726
==========================================
+ Hits 35811 35813 +2
+ Misses 26475 26473 -2
- Partials 2757 2761 +4
Flags with carried forward coverage won't be shown. Click here to find out more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks better - I want smaller margins (discussed in the issue) but I will not make it better myself
I would right-align the bottom buttons with the boxes in the client area. |
Yes, 18 is the new reduced padding. The middle between 12 and 24.
Changing layouts of the forms is outside the scope of this PR.
|
Red color shows indents that do not correspond to the declared 18px. |
Change paddings for base ControlsPanel. |
Thank you, but you have probably missed my reply in #6183 (comment). |
I would then recommend using harmonic values for derived margins: 1:1, 1:2, 1:3, 1:4. |
Windows itself is inconsistent (haha!), but it generally doesn't have the same value for v- and h-padding for buttons - the TD is a perfect example of this. There's another aspect to this - buttons placed at the bottom panel invoke actions that apply to the whole dialog, whilst there may be other action elements that don't. To make this fact more obvious, and for a consistent UX this panel is visually separated from the main content. However the buttons aren't meant to dominate visually and steal user's focus from the main content. On the other hand, if the main content h-paddings are too small - it makes a dialog visually unpleasant. And hence the recommendations for 12/24 paddings. |
I thought these tasks were aimed at developing a common approach. And so ok. |
This is where we disagre - I do not find 12 unpleasant for large windows
yes...
But the recommendation is to have multiple by 4, 18 may scale worse |
10c5b65
to
2531a34
Compare
@msftbot merge in 24 hours |
Hello @RussKie! Because you've given me some instructions on how to help merge this pull request, I'll be modifying my merge approach. Here's how I understand your requirements for merging this pull request:
If this doesn't seem right to you, you can tell me to cancel these instructions and use the auto-merge policy that has been configured for this repository. Try telling me "forget everything I just told you". |
Reduce margins and paddings * Update `FormClone` * Update `FormInit` * Update `FormStatus` * Update `FormCheckoutBranch` Relates to gitextensions#6183 Fix Accept and Cancel buttons that get unset by adding buttons to the controls panel. Resolves gitextensions#8521
2531a34
to
9ebdcd0
Compare
This comment has been minimized.
This comment has been minimized.
Margins are 12px now
|
Relates to #6183
Resolves #8521
Proposed changes
FormClone
FormInit
FormStatus
Screenshots
✒️ I contribute this code under The Developer Certificate of Origin.