user interface - how to provide size of button in clojure? -


i new clojure , using seesaw gui. wanted know how give size of button (or widget matter) in seesaw.

i have tried

(seesaw/button :text "done"              :size [40 :by 40]              :listen [:action done-handler]) 

and wrap button in seesaw/left-right-split. when button takes entire height , width of right side panel. how give size want?

try :preferred-size instead of :size


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -