Skip to content

Commit

Permalink
Remove empty width class and update references
Browse files Browse the repository at this point in the history
  • Loading branch information
refactoringdr committed Jul 17, 2024
1 parent 2bcc069 commit 4bffa17
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ GtPhlowColumnedListViewExamples >> columnedListViewColumnResizing [
// BrColumnedList;
satisfies: [ :list |
list columns
allSatisfy: [ :each | each columnWidth isKindOf: GtPhlowColumnProportionalWidth ] ];
allSatisfy: [ :each | each columnWidth isKindOf: BrColumnProportionalWidth ] ];
onSelf ].
scripter
substep: 'Move first column resizer'
Expand All @@ -380,7 +380,7 @@ GtPhlowColumnedListViewExamples >> columnedListViewColumnResizing [
// BrColumnedList;
satisfies: [ :list |
(list columns first columnWidth isKindOf: BrColumnFixedWidth)
and: [ list columns second columnWidth isKindOf: GtPhlowColumnProportionalWidth ] ];
and: [ list columns second columnWidth isKindOf: BrColumnProportionalWidth ] ];
onSelf ].
^ scripter
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ GtPhlowColumnedTreeViewExamples >> columnedTreeViewColumnResizing [
// BrColumnedTree;
satisfies: [ :tree |
tree columns
allSatisfy: [ :each | each columnWidth isKindOf: GtPhlowColumnProportionalWidth ] ];
allSatisfy: [ :each | each columnWidth isKindOf: BrColumnProportionalWidth ] ];
onSelf ].
scripter
substep: 'Move first column resizer'
Expand All @@ -36,7 +36,7 @@ GtPhlowColumnedTreeViewExamples >> columnedTreeViewColumnResizing [
// BrColumnedTree;
satisfies: [ :tree |
(tree columns first columnWidth isKindOf: BrColumnFixedWidth)
and: [ tree columns second columnWidth isKindOf: GtPhlowColumnProportionalWidth ] ];
and: [ tree columns second columnWidth isKindOf: BrColumnProportionalWidth ] ];
onSelf ].
^ scripter
]
Expand Down
4 changes: 2 additions & 2 deletions src/GToolkit-Phlow/GtPhlowColumn.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ GtPhlowColumn >> defaultTitle [

{ #category : #defaults }
GtPhlowColumn >> defaultWidth [
^ GtPhlowColumnProportionalWidth new
^ BrColumnProportionalWidth new
]

{ #category : #'private - accessing' }
Expand Down Expand Up @@ -196,7 +196,7 @@ GtPhlowColumn >> titleStencil: aStencil [
GtPhlowColumn >> weight: aNumber [
"Make a column match parent with a given proportion as a number (usually between 0 and 1)"

width := GtPhlowColumnProportionalWidth new weight: aNumber
width := BrColumnProportionalWidth new weight: aNumber
]

{ #category : #'api - cell width' }
Expand Down
10 changes: 0 additions & 10 deletions src/GToolkit-Phlow/GtPhlowColumnProportionalWidth.class.st

This file was deleted.

0 comments on commit 4bffa17

Please sign in to comment.