From 4467f61f3297a492de11f4996b09fe068d445f39 Mon Sep 17 00:00:00 2001 From: Dany LE Date: Sun, 7 Aug 2022 11:35:34 +0200 Subject: [PATCH] update example --- Diya/DiyaExampleApp.class.st | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Diya/DiyaExampleApp.class.st b/Diya/DiyaExampleApp.class.st index 5f44660..5815a21 100644 --- a/Diya/DiyaExampleApp.class.st +++ b/Diya/DiyaExampleApp.class.st @@ -70,9 +70,10 @@ DiyaExampleApp >> setup [ node textureNamed: 'mrsang.png'. node borderWidth: 3.0. - "icon := root addNode: (DiyaFontIcon data: #(16rF101 16rF155 16rF185 16rF21B 16rF298 16rF254)) at: 10@24. + icon := root addNode: (DiyaFontIcon data: #(16rF101 16rF155 16rF185 16rF21B 16rF298 16rF254)) at: 240@500. icon fontSize: 24. - icon color: (Color r: 209/255 g: 66/255 b:245/255 )." + icon bgColor: Color transparent. + icon color: (Color r: 209/255 g: 66/255 b:245/255 ). button := root addNode: (DiyaButton text: 'Click me !') at: 240@460. button extent: 200@40.