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

Add a simple code file editor so that we can use it for the preferences. #1612

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

Ducasse
Copy link
Contributor

@Ducasse Ducasse commented Sep 30, 2024

It replaces the UIManager default edit: So we can remove this edit: method too.

It replaces the UIManager default edit:  So we can remove this edit: method too.
@jecisc jecisc merged commit 39a329b into pharo-spec:Pharo13 Oct 1, 2024
1 of 2 checks passed
add: (SpBoxLayout newLeftToRight
add: label expand: true;
yourself)
height: self calculateLabelHeight;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is not recommanded to hardcode the height in Spec.
Using expand: false on the TopToBottom layout should be enough.

^ SpBoxLayout newTopToBottom
		spacing: 5;
	  	add: (SpBoxLayout newLeftToRight
				add: label expand: true;
				yourself)
	  		expand: false;
	add: codeText;
	yourself

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.

3 participants