From d850c7f7e90928d5e31fc867aaddb673855fecd3 Mon Sep 17 00:00:00 2001 From: Yann Le Goff Date: Tue, 25 Nov 2025 16:49:43 +0100 Subject: [PATCH] Remove visual properties of the serialization since they are managed by the theme --- .../ToElement.extension.st | 22 +++++++++++++++++++ .../ToLabel.extension.st | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 src/Toplo-Serialization-Stash/ToElement.extension.st diff --git a/src/Toplo-Serialization-Stash/ToElement.extension.st b/src/Toplo-Serialization-Stash/ToElement.extension.st new file mode 100644 index 0000000..69bca9a --- /dev/null +++ b/src/Toplo-Serialization-Stash/ToElement.extension.st @@ -0,0 +1,22 @@ +Extension { #name : #ToElement } + +{ #category : #'*Toplo-Serialization-Stash' } +ToElement >> allSetterAndGettersForMyStashMargin [ + + + ^ { } +] + +{ #category : #'*Toplo-Serialization-Stash' } +ToElement >> allSetterAndGettersForMyStashPadding [ + + + ^ { } +] + +{ #category : #'*Toplo-Serialization-Stash' } +ToElement >> allSetterAndGettersForMyStashVisuals [ + + + ^ { } +] diff --git a/src/Toplo-Serialization-Stash/ToLabel.extension.st b/src/Toplo-Serialization-Stash/ToLabel.extension.st index 6d7abbf..bf2fe4a 100644 --- a/src/Toplo-Serialization-Stash/ToLabel.extension.st +++ b/src/Toplo-Serialization-Stash/ToLabel.extension.st @@ -4,5 +4,5 @@ Extension { #name : #ToLabel } ToLabel >> stashAccessorsForText [ - ^ { #text } + ^ { ([ :e | 'text: (<1p>)' expandMacrosWith: e text asString ]) onlySetOnStash } ]