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

Improve SpSelectDialog for handling line splitting texts #1533

Merged

Conversation

tesonep
Copy link
Contributor

@tesonep tesonep commented Apr 5, 2024

Fix pharo-project/pharo#16403

  • Adding style for disabled text presenter
  • Adding extension method to text to calculate line heights with wrapping.
  • SpSelectDialog layout the label using a text taking in account the wrapping and height.

- Adding style for disabled text presenter
- Adding extension method to text to calculate line heights with wrapping.
- SpSelectDialog layout the label using a text taking in account the wrapping and height.
@demarey
Copy link
Collaborator

demarey commented Apr 5, 2024

very nice! Thank you @tesonep

@Ducasse
Copy link
Contributor

Ducasse commented Apr 6, 2024

Oh this is super nice.
may be the logic of wrapping should be pushed in the superclass so that all dialogs get it.

@jecisc jecisc merged commit 15d039d into pharo-spec:Pharo12 Apr 9, 2024
1 of 2 checks passed
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.

Refactoring options popup does not have enough space for the message
4 participants