This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-12
Channels
- # beginners (34)
- # boot (210)
- # cider (16)
- # cljs-dev (65)
- # cljsrn (3)
- # clojars (2)
- # clojure (107)
- # clojure-austin (8)
- # clojure-berlin (10)
- # clojure-brasil (1)
- # clojure-canada (1)
- # clojure-dev (1)
- # clojure-fr (1)
- # clojure-italy (22)
- # clojure-new-zealand (12)
- # clojure-nl (28)
- # clojure-russia (13)
- # clojure-spec (25)
- # clojure-uk (10)
- # clojurescript (109)
- # cursive (18)
- # datomic (44)
- # defnpodcast (1)
- # dirac (4)
- # emacs (2)
- # funcool (1)
- # hoplon (16)
- # jobs (14)
- # lambdaisland (23)
- # leiningen (2)
- # luminus (3)
- # off-topic (7)
- # om (58)
- # onyx (16)
- # proton (6)
- # re-frame (42)
- # reagent (55)
- # ring-swagger (5)
- # untangled (47)
- # vim (9)
@vigilancetech: you can prototype your UI using regular CSS and convert it after?
@vigilancetech: in ui, the spacing of elems is always controlled by the parent, using the gutter :g
and the padding :p
attributes. the gutter adds spaces between the child elems, while the padding adds space between the edges. in this case, it sounds like you want :g
, :gh
, or :gv
.
@jumblerg I did try and do that, but I couldn't add enough to push the icons out to the edge. Its like it had padding, but I set the ":p" to zero. Also, when you use a number, what are you specifying exactly? Pixels? I tried it with the size attrib and it seemed to max out at around 1100 is what made me think that.
Do you have an example of how the :inherit and :initial attribs work? They don't seem to do anything
do you have a project i can clone quickly to see the issue you’re having with the icons?
ok, gimme a min to set it up
oh, here's another question while its pushing. On the (image) constructor, how can I get it to use local images (like in the "assets" directory)? The ":src" tag doesn't work. I had to push all my images to dropbox and use ":url". Sorry, I haven't looked extensively at the source code yet to figure it out. Its a bit confusing to me as I'm fairly new to clojure
you can see in the assets folder, the CPU Monitoring1.svg is how its supposed to look
probably best to look at the testing branch
@vigilancetech for the image/assets thing, you need to specifcy the :resource-path in build.boot, ie :resource-paths #{"resources"}
(image :url "blah.gif")
works for me if blah.gif is in the "resources" directory with this setup
@jjttjj ok, I think I tried that but I'll make sure I got it right and try again.
Are there any known issues with including core.async in a castra-based backend? I’m finding that -just- by adding [clojure.core.async]
to my ns
form I get errors on all my castra calls. And I’m getting weird non-deterministic errors too, like
clojure.lang.Compiler$CompilerException: java.lang.IllegalAccessError: prewalk is not public, compiling:(clojure/tools/analyzer/passes.clj:1:1)