Skip to content

Commit

Permalink
polishing a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
plantec committed Jan 2, 2024
1 parent e83fa36 commit cdedbc1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/Album/AlbPrimarySelectionElement.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ AlbPrimarySelectionElement >> defaultBorder [
AlbPrimarySelectionElement >> initialize [

super initialize.
self outskirts: BlOutskirts inside.
self addEventHandler: AlbSubtextElementEventHandler new
]

Expand Down
10 changes: 4 additions & 6 deletions src/Album/AlbTextPortionElement.class.st
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Class {
#name : #AlbTextPortionElement,
#superclass : #BlElement,
#category : 'Album-UI-Text-Portion'
#category : #'Album-UI-Text-Portion'
}

{ #category : #accessing }
AlbTextPortionElement >> borderColor [

^ Color black
^ Color gray alpha: 0.2
]

{ #category : #accessing }
Expand All @@ -19,7 +19,7 @@ AlbTextPortionElement >> borderWidth [
{ #category : #initialization }
AlbTextPortionElement >> defaultBackground [

^ Color transparent
^ Color lightGray alpha: 0.2
]

{ #category : #accessing }
Expand All @@ -34,7 +34,5 @@ AlbTextPortionElement >> initialize [
super initialize.
self background: self defaultBackground.
self border: self defaultBorder.
self constraintsDo: [ :c | c ignoreByLayout ].
self outskirts: BlOutskirts centered

self constraintsDo: [ :c | c ignoreByLayout ]
]

0 comments on commit cdedbc1

Please sign in to comment.