Skip to content

Commit

Permalink
Convert to method extensions 2 methods, to fix dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchodias committed May 10, 2024
1 parent f43232b commit 1552ba1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
6 changes: 6 additions & 0 deletions src/Bloc-Infinite/BlLayoutCommonConstraints.extension.st
@@ -0,0 +1,6 @@
Extension { #name : #BlLayoutCommonConstraints }

{ #category : #'*Bloc-Infinite' }
BlLayoutCommonConstraints >> infinite [
^ self at: BlInfiniteLayout
]
6 changes: 6 additions & 0 deletions src/Bloc-Layout/BlLayoutCommonConstraints.extension.st
Expand Up @@ -20,6 +20,12 @@ BlLayoutCommonConstraints >> linear [
^ self at: BlLinearLayout
]

{ #category : #'*Bloc-Layout' }
BlLayoutCommonConstraints >> proportional [

^ self at: BlProportionalLayout
]

{ #category : #'*Bloc-Layout' }
BlLayoutCommonConstraints >> relative [
^ self at: BlRelativeLayout
Expand Down
11 changes: 0 additions & 11 deletions src/Bloc/BlLayoutCommonConstraints.class.st
Expand Up @@ -132,11 +132,6 @@ BlLayoutCommonConstraints >> ignoredByLayout [
^ ignoredByLayout
]

{ #category : #'api - layouts' }
BlLayoutCommonConstraints >> infinite [
^ self at: BlInfiniteLayout
]

{ #category : #initialization }
BlLayoutCommonConstraints >> initialize [
super initialize.
Expand Down Expand Up @@ -278,12 +273,6 @@ BlLayoutCommonConstraints >> position: aPoint [
position := aPoint
]

{ #category : #'api - layouts' }
BlLayoutCommonConstraints >> proportional [

^ self at: BlProportionalLayout
]

{ #category : #'api - layouts' }
BlLayoutCommonConstraints >> requestedHeightIn: anElement [

Expand Down

0 comments on commit 1552ba1

Please sign in to comment.