layout icon indicating copy to clipboard operation
layout copied to clipboard

Single-file library for calculating 2D UI layouts using stacking boxes. Compiles as C99 or C++.

Results 12 layout issues
Sort by recently updated
recently updated
newest added

Fix several g++ warnings. Also address the use of the gcc always_inline attribute which misbehaves on at least ARM9.

The GENie file currently only builds as C99 for GCC and Clang by default. We should have some command we can run to test both C99 and C++ in one...

I originally didn't expect to have so many users of layout, so I didn't put in security checks for overflows on the allocation math. I'll add some before too long.

I would think what might sometimes be good to have is the mode for preset (fixed) item ID numbers, you will specify how many they are and then you will...

Defining the preprocessor symbol LAY_USE_NAMES will add a const char *name field to all lay items, as well as the functions lay_get_name and lay_set_name. I found this very useful in...

While using layout library in my project I've come across somewhat unexpected layouting behaviour. Minimal reproducible example follows: 1. Create root item of arbitrary size, without any additional configuration it...

Hi! As a little weekend project, I've ported Layout to C#/.Net. 🎉 Figured I'd make an issue and let anyone who may be looking for something like this know. You...

https://github.com/randrew/layout/blob/b0c02829df41b066c5aaedcb946498209bcb38e5/layout.h#L982-L983 According to the original annotation, the last line does not seem to do justify, my modification destroys this behavior This change has passed all test cases, and it is...

Use the patch mentioned by #15, because #20 needs it. fix #20: Update all children nodes after calculating x coordinates.