jkrumbiegel / GridLayoutBase.jl

MIT License
4 stars 12 forks source link

Recommended/ok for use outside of Makie? #58

Open DrChainsaw opened 1 month ago

DrChainsaw commented 1 month ago

Sorry for posting a question as an issue.

I have started to look into how to make use of this package to improve the layouting capabilities of PPTX.jl, but before I go to deep I guess I should ask the question in the subject line.

Assuming it is, I don't mind the puzzle of figuring out how to make use of it as an activity for rainy summer days, but I suppose it would be helpful with some "here is how to make use of GridLayoutBase in your package" type of documentation for people who are in more of a pinch w.r.t time.

I could maybe contribute with my findings if this is desirable (although it might be more work for you to correct my misconceptions than it is to write it yourself 😄 )

jkrumbiegel commented 1 month ago

It was never intended to, but only because I'm so focused on Makie that the thought didn't occur to me.

You can certainly use it for other stuff as the internals are not tied to Makie. The tests actually define such an object which has all the observables one might need https://github.com/jkrumbiegel/GridLayoutBase.jl/blob/master/test/debugrect.jl

You could try to start with that to build some layouts whose properties you then read out and apply to your PPTX slides