Make smallImageButton square with fixed 48x48 dimensions
commitc7fca727f57ac98e13813bc0a73292ef56416a34
authoriko <mail@iko.soy>
dateFri 17 Apr 2026, 17:39 (6 months ago)
parent5aa2735
client/Buttons.fs+2
@@ -164,6 +164,8 @@ module Buttons =
164164
165165 Rectangle().stroke(Colors.Black).strokeThickness (4.)
166166 })
167+ .width(48.)
168+ .height(48.)
167169 .background(Brushes.Transparent)
168170 .onPointerPressed(fun _ -> pressed.Set true)
169171 .onPointerReleased(fun _ -> pressed.Set false)