Allows auto-width and auto-height for text layouts

This commit is contained in:
alonso.torres 2020-09-18 13:55:57 +02:00 committed by Andrey Antukh
parent 9c61c52dc5
commit abdd4d68d5
10 changed files with 130 additions and 59 deletions

View file

@ -167,7 +167,9 @@
{:left (.-left ^js rect)
:top (.-top ^js rect)
:right (.-right ^js rect)
:bottom (.-bottom ^js rect)}))
:bottom (.-bottom ^js rect)
:width (.-width ^js rect)
:height (.-height ^js rect)}))
(defn get-window-size
[]