Skip to content

Commit

Permalink
spaces fill
Browse files Browse the repository at this point in the history
  • Loading branch information
awb99 committed Apr 12, 2024
1 parent 3200843 commit ad2f010
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 25 deletions.
28 changes: 4 additions & 24 deletions resources/ext/ui-spaces.edn
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,10 @@
:cljs-namespace [spaces.core
spaces.layout.fixed
spaces.layout.screen]
:cljs-ns-bindings {'spaces {;; spaces is depreciated. use spaces.core
'viewport spaces.core/viewport
'fixed spaces.core/fixed
;; anchored-spaces
'left spaces.core/left
'right spaces.core/right
'top spaces.core/top
'bottom spaces.core/bottom
'left-resizeable spaces.core/left-resizeable
'right-resizeable spaces.core/right-resizeable
'top-resizeable spaces.core/top-resizeable
'bottom-resizeable spaces.core/bottom-resizeable
;; other
'fill spaces.core/fill
'positioned spaces.core/positioned
'layer spaces.core/layer
'centered spaces.core/centered
'centered-vertically spaces.core/centered-vertically
;; helper
'description spaces.core/description}
'spaces.core {;; top-level-spaces
:cljs-ns-bindings {'spaces.core {;; top-level-spaces
'viewport spaces.core/viewport
'fixed spaces.core/fixed
;; anchored-spaces
;; anchored-spaces
'left spaces.core/left
'right spaces.core/right
'top spaces.core/top
Expand All @@ -36,13 +16,13 @@
'right-resizeable spaces.core/right-resizeable
'top-resizeable spaces.core/top-resizeable
'bottom-resizeable spaces.core/bottom-resizeable
;; other
;; other
'fill spaces.core/fill
'positioned spaces.core/positioned
'layer spaces.core/layer
'centered spaces.core/centered
'centered-vertically spaces.core/centered-vertically
;; helper
;; helper
'description spaces.core/description}
'spaces.layout.screen {'screen-main-top spaces.layout.screen/screen-main-top
'screen-left-right-top spaces.layout.screen/screen-left-right-top
Expand Down
2 changes: 1 addition & 1 deletion src/spaces/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

;; other

(def fill (wrap spaces/Fill))
(def fill (wrap-many spaces/Fill))
(def positioned (wrap spaces/Positioned)) ;A space which can be absolutely placed within a parent space either by top, left, width and height or by top, left, right and bottom.

(def layer (wrap spaces/Layer)) ; Layers allow you to create layers within a parent space
Expand Down

0 comments on commit ad2f010

Please sign in to comment.