Skip to content

Add Commands for smaller/larger height only#1607

Merged
rxhanson merged 1 commit intorxhanson:mainfrom
RazgrizHsu:main
Jun 10, 2025
Merged

Add Commands for smaller/larger height only#1607
rxhanson merged 1 commit intorxhanson:mainfrom
RazgrizHsu:main

Conversation

@RazgrizHsu
Copy link
Contributor

First off, huge thanks for your work on this project; it truly makes life better!

I noticed that the application currently has commands for adjusting larger/smaller width, but I couldn't find corresponding commands for height. I'm not sure if this was an intentional design choice, but as someone who frequently needs to adjust height, I thought others might have the same need.

Therefore, I've created this pull request to introduce those height adjustment commands. Please take a look and let me know if this is something you'd be interested in merging.

Thanks a lot!

@rxhanson rxhanson merged commit 80e9330 into rxhanson:main Jun 10, 2025
1 check passed
@rxhanson
Copy link
Owner

Thanks! There wasn't a specific reason why this was not added in - it was simply that the contributor that added in smaller/larger width didn't add it in. I'll plan on rolling out another release soon.

@newby-deu
Copy link

Auch von mir vielen Dank für die Arbeit und die App. Die ist wirklich klasse.
Ich habe mir die neuste Version auf dem Mac installiert, allerdings kann ich die Befehle für die Änderung der Höhe nicht finden.
Muss ich noch etwas machen, App zurücksetzen oder ähnliches, oder wo finde ich die Befehle?
Herzlichen Dank.

@rxhanson
Copy link
Owner

@newby-deu
Copy link

Vielen Dank für die Rückmeldung. Ich bin tatsächlich absoluter "Neuling" und frage deswegen noch mal nach.
In den Einstellungen in der App, also auf der Einstellungsseite wo man die ganzen Kurzbefehle setzen kann finde ich die Einträge für die Höhe nicht. Da ist in der rechten Spalte "Maximieren, nahezu maximieren, höhe maximieren, Verkleinern, vergrößern, zentrieren, wiederherstellen"...
Dann habe ich Einstellungen für "ersters Drittel, Erstes Viertel, oberes linkes Sechstel, usw... Aber die Einstellungen für die Höhe und Breite finde ich leider nicht.

Herzlichen Dank

@rxhanson
Copy link
Owner

Because there are so many sizes and positions that one could choose from, and in order to keep the app simple and approachable, I don't add all of them to the UI of Rectangle. To configure smaller/larger height, you'll have to execute the terminal commands listed on that page, which means you'll have to figure out the key code and modifier flags for the shortcut you want to configure. One way is to use the key codes app on the App Store.

@RazgrizHsu
Copy link
Contributor Author

@newby-deu You can take a look at my settings.

https://github.com/RazgrizHsu/karabiner-ts-config/blob/9068b3101b642fc668309c816086d46f33aecd60/example/sofle.ts#L119

Of course, you can also run this command directly in the terminal,
assuming you have Rectangle open. It should work fine.

@newby-deu
Copy link

newby-deu commented Jun 29, 2025

Danke für die Rückmeldung. Ich bin sehr begeistert, was hier auf GitHub alles angeboten wird und auch die App "Rectangle" nutze ich sehr gerne. Diverse andere auch.
Allerdings bin ich kein Programmierer und habe vom Quellcode etc. überhaupt keine Ahnung. Von daher werde ich wohl auch in Zukunft weiterhin ohne diese Funktion klar kommen müssen.
Herzlichen Dank

@nikhilweee
Copy link
Contributor

I believe this (#1504) is the PR that added constrained resize commands. I omitted largerHeight and smallerHeight to keep things simple. Quoting from the PR:

(Technically, largerHeight can be achieved by larger followed by smallerWidth and smallerHeight can be achieved by smaller followed by largerWidth, so those are omitted.)

At the time I wasn't sure if constrained resize would be helpful but I'm glad to see that it's helping others now!

liangyuetian added a commit to liangyuetian/Rectangle.For.Windows that referenced this pull request Mar 19, 2026
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.

4 participants