Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 10:00
    shubin opened #386
  • 07:51
    wh1t3lord synchronize #385
  • 07:27
    wh1t3lord opened #385
  • Dec 05 23:21
    hobyst commented #198
  • Dec 05 22:40
    hobyst commented #198
  • Dec 05 22:21
    hobyst commented #198
  • Dec 05 22:20
    hobyst commented #198
  • Dec 05 22:20
    hobyst commented #198
  • Dec 05 21:42
    hobyst commented #198
  • Dec 05 14:54
    jopbrown starred mikke89/RmlUi
  • Dec 05 09:36
    SEAGitUser starred mikke89/RmlUi
  • Dec 04 04:45
    cathaysia commented #198
  • Dec 04 04:35
    cathaysia commented #198
  • Dec 03 23:21
    hobyst commented #198
  • Dec 03 23:21
    hobyst commented #198
  • Dec 03 23:20
    hobyst commented #198
  • Dec 03 23:19
    hobyst commented #198
  • Dec 03 23:19
    hobyst commented #198
  • Dec 03 15:57
    Caprey starred mikke89/RmlUi
  • Dec 03 13:11
    hobyst commented #198
Hyper Sonic
@hsandt
For now I'm defining height = container height - margin-top - margin-bottom I wanted as a workaround.
Michael R. P. Ragazzon
@mikke89
@hsandt Hey. Is #box the body element? The body is always absolutely positioned, so in that case use height: auto; top: 0; bottom: 80dp;. I think that should do it.
1 reply
If it's not the body, you can use position: absolute; together with the above rules.
aquawicket
@aquawicket
@giulio.camuffo:matrix.org I have a SDL2Renderer Rml interface that does not require GL. Welcome to try it out.. working on everything except android at the moment. Still working on that. https://github.com/aquawicket/SDL2RendererRml
zygon.sisyphus
@zygon.sisyphus:matrix.org
[m]
@aquawicket: SDL2RendererRml is working on windows/msys2? how?
zygon.sisyphus
@zygon.sisyphus:matrix.org
[m]
can rmlui run in browser?
with wasm +libsdl2 ?
Michael R. P. Ragazzon
@mikke89
@zygon.sisyphus:matrix.org I don't see a reason why it couldn't work, but I haven't heard from anyone trying. Let us know how it goes if you do try it!
Sounds a bit insane though, why would you want to do this when you already have HTML+CSS?
zygon.sisyphus
@zygon.sisyphus:matrix.org
[m]
bindings
native bindings, not javascript
zygon.sisyphus
@zygon.sisyphus:matrix.org
[m]
also assemblyscript
and can run in browser, mobile, desktop
crossplatform
and is cool
and probably fast
c++. rust, golang, .. can generate webassembly now
Michael R. P. Ragazzon
@mikke89
Right, I understand the need for wasm, and that is all cool. However I don't understand why one would want RmlUi specifically running in a browser, that to me is the insane part ;)
zygon.sisyphus
@zygon.sisyphus:matrix.org
[m]
pwa on mobile
or games in browseer
Michael R. P. Ragazzon
@mikke89
Is it possible now to run wasm without the entire web browser underneath? If so, that would be very interesting, and I could certainly see something like RmlUi making sense on top of that.
zygon.sisyphus
@zygon.sisyphus:matrix.org
[m]
zygon.sisyphus
@zygon.sisyphus:matrix.org
[m]
zygon.sisyphus
@zygon.sisyphus:matrix.org
[m]
part 1-8
Michael R. P. Ragazzon
@mikke89
Ah, these are very cool, didn't know there were standalone runtimes. That is very interesting, then I do understand how RmlUi could be a good fit for such projects :)
zygon.sisyphus
@zygon.sisyphus:matrix.org
[m]
ui
part
Michael R. P. Ragazzon
@mikke89
Yup
zygon.sisyphus
@zygon.sisyphus:matrix.org
[m]
all apps need forms/menu/...
Michael R. P. Ragazzon
@mikke89
I understand now, I thought you always had a full browser to take advantage of.
it can work as electron/nwjs replacement
lite version
lite-xl.github.io can benefit from this
Michael R. P. Ragazzon
@mikke89
Yeah, I'd love to see something more lightweight take over from electron. One has to appreciate the irony though if one ends up integrating RmlUi into a wasm application and running it in the browser.
zygon.sisyphus
@zygon.sisyphus:matrix.org
[m]
:)
best part, all can be done with static link
libsdl+rmlui as one runtime
Michael R. P. Ragazzon
@mikke89
Ah, that's very nice.
zygon.sisyphus
@zygon.sisyphus:matrix.org
[m]
probably also with wasm runtime
then all you need is an small wrapper to start
and you have all cross platform
UI + CSS + Logic