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

gmoccapy: fix increasing window size on edit (2.9) #3330

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

hansu
Copy link
Member

@hansu hansu commented Feb 7, 2025

For some translations the text for the search/replace buttons is too wide to fit the smallest window size. The result is that the window width increases in edit mode:

gmoccapy_edit_de_en

gmoccapy-resize-edit

Changing the text to icons for the undo and redo buttons resolves this:

gmoccapy_edit_new_de

@gmoccapy Are you okay with the button solution or do you have a better proposal?
For the master branch I thought to optimize this further, maybe similar to how it's done in kate

For some translations the text for the search/replace buttons is too wide to fit the smallest window size.
The result is that the window width increases in edit mode.
Changing the text to icons for the undo and redo buttons gives enough space.
@hansu hansu changed the title gmoccapy: change text to icons of undo/redo buttons to fit window size gmoccapy: fix increasing window size on edit (2.9) Feb 7, 2025
@andypugh andypugh requested a review from gmoccapy February 9, 2025 00:21
@gmoccapy
Copy link
Collaborator

Hallo Hans,

i like the solution with the icon button.
They look better than the text solution i made.

So go ahead!

Norbert

@hansu hansu merged commit ddea941 into LinuxCNC:2.9 Feb 12, 2025
11 checks passed
@hansu hansu deleted the gmoccapy-fix-resizing branch February 12, 2025 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants