Skip to content

Commit

Permalink
Almost all widgets need to matchParent on creation
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchodias committed Jun 28, 2024
1 parent 134d15b commit 462f932
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Spec-Toplo/SpToploAdapter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ SpToploAdapter >> adaptToploWidget [
"Initialize and bind the widget to the model"

self
updateLayout;
updateAll;
subscribeToPresenter;
subscribeToWidget
Expand Down Expand Up @@ -66,6 +67,12 @@ SpToploAdapter >> updateAll [
self updateVisible
]

{ #category : #initialization }
SpToploAdapter >> updateLayout [

widget matchParent
]

{ #category : #'updating widget' }
SpToploAdapter >> updateVisible [

Expand Down
5 changes: 5 additions & 0 deletions src/Spec-Toplo/SpToploWindowAdapter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ SpToploWindowAdapter >> updateContentWithSpecLayout: aSpExecutableLayout [
addChild: (self presenter presenter buildWithLayout: aSpExecutableLayout)
]

{ #category : #initialization }
SpToploWindowAdapter >> updateLayout [
"Do nothing on the `BlSpace`."
]

{ #category : #updating }
SpToploWindowAdapter >> updateVisible [

Expand Down

0 comments on commit 462f932

Please sign in to comment.