Skip to content
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

How to make the spacing of caption buttons closer in Windows 11 22H2 #103

Open
4 tasks done
EpGithub22 opened this issue Dec 14, 2022 · 4 comments
Open
4 tasks done
Labels

Comments

@EpGithub22
Copy link

EpGithub22 commented Dec 14, 2022

Windows Version: <<Win11 22H2

Question
How to make the spacing of caption buttons closer

Things you already tried
The above topic edited by using msstyleEditor and Window Style Builder, but it did't work, unfortunetly i missed the ability to code...

Additional context
Everything you think helps understanding the question or problem.

  • name or link to the theme in question
  • screenshot of the UI element you are referring to
  • depiction of the desired outcome

Checklist

  • My uxtheme.dll is patched
  • I am using the latest version of msstyleEditor
  • I checked the Wiki
  • None of the other issues cover this
@EpGithub22
Copy link
Author

Maybe one day someone out there will make it done, thanks🙏

@nptr
Copy link
Owner

nptr commented Dec 15, 2022

You mean button size so the click area is smaller and the button glyphs are close to each other? Because i think the buttons are right next to each other with no space in between.

I don't know a solution unfortunately. A quick experiment reveals the CLOSEBUTTON + CLOSEBUTTONGLYPH part in DWMWindow seem to have no effect in that regard. Maybe you can find some visual style that achieved what you want and see what they did.

I also saw people mess with HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics to reduce the caption bar size and with it the button size.

@EpGithub22
Copy link
Author

EpGithub22 commented Dec 15, 2022 via email

@EpGithub22
Copy link
Author

After a few days, it is clear that the spacing of caption buttons determined by the frames ratios, square 1:1 or rectangel 1:2, 1:3, the buttons its self are the contents, therefore the question is how to adjust the frames of the caption buttons ? From rectangel to square

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants