Skip to content

Commit

Permalink
Change UI of SSBooleanModel: Use button
Browse files Browse the repository at this point in the history
CheckBoxes don't step properly.
  • Loading branch information
LinqLover committed Jul 26, 2019
1 parent 5bb420d commit 010ed21
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
toolbuilder
buildWith: aBuilder

^ aBuilder pluggableCheckBoxSpec new
^ aBuilder pluggableButtonSpec new
model: self;
label: #label;
action: #toggle;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
toolbuilder
changed: what

super changed: what.
what = #state ifTrue: [self changed: #label].
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
toolbuilder
label

^ ''
^ self state asString
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
"class" : {
},
"instance" : {
"buildWith:" : "CT 7/12/2019 15:52",
"buildWith:" : "CT 7/26/2019 16:01",
"changed:" : "CT 7/26/2019 16:01",
"initialize" : "CT 7/12/2019 15:52",
"label" : "CT 7/12/2019 15:52",
"label" : "CT 7/26/2019 16:01",
"state" : "CT 7/12/2019 15:53",
"state:" : "CT 7/12/2019 15:53",
"toggle" : "CT 7/12/2019 15:53" } }

0 comments on commit 010ed21

Please sign in to comment.