Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 08 20:58
    Mormert starred mikke89/RmlUi
  • Aug 08 18:02
    pixelblender starred mikke89/RmlUi
  • Aug 08 15:00
    slupusr starred mikke89/RmlUi
  • Aug 08 10:14
    mikke89 commented #341
  • Aug 08 00:33
    xland commented #341
  • Aug 07 22:48
    mikke89 commented #341
  • Aug 07 22:45

    mikke89 on master

    Make style tags accept xml rese… (compare)

  • Aug 07 20:57
    eugeneko edited #341
  • Aug 07 20:56
    eugeneko edited #341
  • Aug 07 20:56
    eugeneko edited #341
  • Aug 07 20:55
    eugeneko opened #341
  • Aug 07 20:36
    rodgomesc starred mikke89/RmlUi
  • Aug 07 15:36

    mikke89 on master

    Border-radius change should dir… When changing any of the top/ri… <handle> element: Fix the move … (compare)

  • Aug 07 05:02
    qindj starred mikke89/RmlUi
  • Aug 06 22:54

    mikke89 on master

    Invader sample: Fix score blink… (compare)

  • Aug 06 16:09

    mikke89 on selectors

    (compare)

  • Aug 06 09:11
    RusJJ starred mikke89/RmlUi
  • Aug 06 06:10
    H-K-ai starred mikke89/RmlUi
  • Aug 06 03:48
    xianjimli starred mikke89/RmlUi
  • Aug 05 17:42
    baodinhaaa starred mikke89/RmlUi
Michael R. P. Ragazzon
@mikke89
Yeah, all render calls from rmlui are triangles.
Jeff425
@Jeff425
Sorry, my question was if all texture'd geometry is passed as two triangles generated from the GenerateQuad method
Michael R. P. Ragazzon
@mikke89
Ah I see. This might be the case currently but I cannot make any guarantees about that.
Giovanni
@uniquejack
@igorsegallafa display: block
@igorsegallafa by default the display property is "inline", and inline elements can't take width, height, vertical margin & padding
either use inline-block or block
VinaCC
@EngineLessCC
Hey there!
Ive been trying out rml lately and im using the example of the Readme.
How exactly does rmlui create fonts? There is freetype as dependency yet i only receive geometry and therefore i can only render everything except text
Michael R. P. Ragazzon
@mikke89
Text is rendered just as any other geometry, using the generated textures.
VinaCC
@EngineLessCC
i see, readme fontfamily is incorrect, it states "LotoLatin" while its "Loto"

Text is rendered just as any other geometry, using the generated textures.

yeah just that ive never received any callbacks for fonts, the logmessage wasnt very useful either as it couldnt tell me "LotoLatin" didnt exist, but complain about no family being set at all which was wrong, but ive solved this now

Michael R. P. Ragazzon
@mikke89
I see, glad you have it working now, the error message could certainly be improved. I guess you're using another Lato font file with the full set of languages, not the one included with the samples?
VinaCC
@EngineLessCC
i havent touched the samples folder at all, just followed the readme as is
so yeah, ive used online lato fontfiles
perhaps being able to set a fallback font not just for missing glyphs but missing fonts would be a great feature aswell
Michael R. P. Ragazzon
@mikke89
I see. Btw, the log messages will tell you the names of the fonts when they are loaded, which might be helpful sometimes because they need to match exactly.
VinaCC
@EngineLessCC
yes that is true

perhaps being able to set a fallback font not just for missing glyphs but missing fonts would be a great feature aswell

i would actually even suggest that, as this is typically behaviour of normal browsers to automatically use a different font/fallback incase some family is missing, reproducing this behaviour sounds reasonable plus a logmessage may tell about using fallback

Michael R. P. Ragazzon
@mikke89
Hm, I think it's better to consider non-existing font names an error. If users refer to a font that doesn't exist, that is indicative of an issue somewhere (either wrong name, or missing/error loading font file). We don't try to correct issues like that in RmlUi, unlike web browsers where compatibility is essential and correcting mistakes is the norm.
VinaCC
@EngineLessCC
errors would do aswell
Michael R. P. Ragazzon
@mikke89
Alright, I've tried to improve the error message now with the latest commit, hopefully it is much clearer now.
VinaCC
@EngineLessCC
i dont see an option to manually invalidate CompiledGeometryHandles
edit: nvm, global functions, forgot those. (took me a moment to find it in docs either)
VinaCC
@EngineLessCC
Any idea what could cause this? https://imgur.com/cT1cHxs
Ive noticed it being system dependend, mine and some testers' host systems including vms appear to have this issues, while others dont
another example: https://imgur.com/IijoHD6
Michael R. P. Ragazzon
@mikke89
Hmm, not sure. Looks like some kind of pixel alignment issues, either due to subpixel offset or scaling.
VinaCC
@EngineLessCC
it sometimes fixed itself when i changed the context dimensions, yet i dont understand the relation as some systems render these fine and others not. identical binary
Michael R. P. Ragazzon
@mikke89
Could be anything from projection matrix, viewport settings, context dimensions, and shader code.
VinaCC
@EngineLessCC
yeah im unsure what it could be atm, viewport dimensions match context, as for shader im using d3d9(Ex) funcs instead of shaders directly, projection matrix is basically taken from docs of rmlui on dx
Michael R. P. Ragazzon
@mikke89
Ah, hmm, if I remember correctly, dx9 has these half texel offset weirdness. Don't remember the details, but that should be something to investigate.
VinaCC
@EngineLessCC
yes! thank you for that tip! adding 0.5f to x and y translation fixed this
Michael R. P. Ragazzon
@mikke89
Great!
VinaCC
@EngineLessCC
are there reasons for the debuggers' element info window to be big yet empty on some elements?
Michael R. P. Ragazzon
@mikke89
It doesn't resize automatically, you can do that manually
Martin Suffer
@InactivatedPyschiopath
Hello, is there a link that I can see the supported tags, css properties and etc on rmlui?
Michael R. P. Ragazzon
@mikke89
@InactivatedPyschiopath Hi! Yes there is. See list of properties here: https://mikke89.github.io/RmlUiDoc/pages/rcss/property_index.html
Martin Suffer
@InactivatedPyschiopath
@mikke89 thanks!
Michael R. P. Ragazzon
@mikke89
Just added a search box on the documentation site! Hope you find it useful, let me know if you find any issues :)
Martin Suffer
@InactivatedPyschiopath
thanks! it's great
Martin Suffer
@InactivatedPyschiopath
@mikke89 I'm trying to add openh264 to rmlui, do you have any plan for that?
Michael R. P. Ragazzon
@mikke89
Haven't worked with that library before, let us know if you have any issues integrating it. Most likely you won't need any specific support from the RmlUi side, the library is quite flexible so you should be able to integrate it from the client side.
Martin Suffer
@InactivatedPyschiopath

Haven't worked with that library before, let us know if you have any issues integrating it. Most likely you won't need any specific support from the RmlUi side, the library is quite flexible so you should be able to integrate it from the client side.

@mikke89 yes I could decode and get the frame I guess I will face some issues to draw them in rmlui thanks for the help I will try to make it stable and send a commit to rmlui, lightweight mp4 files are extremely helpful for creating cool backgrounds.

Jeff425
@Jeff425

Hey @mikke89 I am getting a formatting error with tables Element has a display type 'table-row-group', but is not located in a table. It will not be formatted. In element tbody < table.commandBox < body < #root#main using the style sheet from https://mikke89.github.io/RmlUiDoc/pages/rcss/tables.html and my table is formatted as such

<table class='commandBox' data-model='commandModel'><tbody>
<tr class='commandLog'><td>{{commandLog}}</td></tr>
<tr class='commandInput'><td><input type='text' data-value='commandInput' /></td></tr>
</tbody></table>

I feel like I am missing something obvious (or if I need to change the table RCSS)

Jeff425
@Jeff425
Also love that you are working on flexbox support. Such an easy to use responsive layout
Jeff425
@Jeff425
Ah it seems using position absolute was causing issues with the table
Michael R. P. Ragazzon
@mikke89
@Jeff425 That's not the best error message for this situation certainly! Which element had absolute position here, the table or tbody?
Thanks, just getting started on flexbox, we'll see how it goes :)
Marco Bortolin
@barotto
I had the same problem with a table with absolute position. I solved putting the table inside an absolutely positioned div.
Michael R. P. Ragazzon
@mikke89
@barotto I don't think I ever tested this actually, thanks for letting me know, I'll see if we can do something about it. At least a better error message.
Marco Bortolin
@barotto
Just did a cursory look at the source code and I think this happens because when a table has absolute position it's added as such in the block_context_box obj but the LayoutTable::FormatTable won't be called in the CloseAbsoluteElements, and table elements have Static position. I also think putting a table inside an absolute div would be an acceptable workaround for this case, assuming a more meaningful error message is also provided.