-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jonas Krohn
committed
Jun 30, 2024
1 parent
59f0473
commit 9501907
Showing
5 changed files
with
90 additions
and
64 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Class { | ||
#name : #WBTextbox, | ||
#superclass : #WBRectangularElement, | ||
#category : #'SqueakWhiteboard-Core' | ||
} | ||
|
||
{ | ||
#category : #'as yet unclassified', | ||
#'squeak_changestamp' : 'JK 6/30/2024 15:52' | ||
} | ||
WBTextbox >> initialize [ | ||
|
||
self resizable: false. | ||
super initialize. | ||
self color: Color transparent. | ||
self textField wrapFlag: false; | ||
hResizing: #shrinkWrap; | ||
vResizing: #shrinkWrap; | ||
onChanged: [self resize]; | ||
position: self position. | ||
] | ||
|
||
{ | ||
#category : #'as yet unclassified', | ||
#'squeak_changestamp' : 'JK 6/30/2024 15:12' | ||
} | ||
WBTextbox >> resize [ | ||
|
||
self morph bounds: self textField bounds | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters