<commit_before>/*******************************************************************************
    juce module: ak_layout
    author:      <NAME>

    started:     Feb, 2016
    
*******************************************************************************/


This project adds a simple to use layout class to align components of the JUCE
framework (www.juce.com) next to each others.

Find the api-documentation here: https://audiokinematics.github.io/juceLayouts/

The highlights:
Only one member variable necessary
Self contained with SafePointers to the components to minimize risk of dangling pointers
Can be serialized to/from a XML file via ValueTree
Stretch factors to distribute the available space proportionally
Restrict minimum and maximum sizes of items
Add sublayouts nested horizontally and vertically in each directions
Add labels and GroupComponents from XML definition
Add a labeled component in one line of code
Add spacers between components

Have fun using it...
Daniel<commit_msg>Added editor note to readme, is usable now<commit_after>/*******************************************************************************
    juce module: ak_layout
    author:      <NAME>

    started:     Feb, 2016
    
*******************************************************************************/


This project adds a simple to use layout class to align components of the JUCE
framework (www.juce.com) next to each others.

Find the api-documentation here: https://audiokinematics.github.io/juceLayouts/

The highlights:
In the examples folder is a LayoutEditor. You can create layouts as XML definitions
and show them with placeholders to see how the space would be distributed.

To use the layout in a JUCE component it is easiest to add a Layout member to
the component, load the layout definition via ValueTree, e.g. from an XML file
from BinaryData.
Call in the resized() callback layout->updateGeometry() and all child components
are layouted according to the XML definition.

Other features:
Only one member variable necessary
Self contained with SafePointers to the components to minimize risk of dangling pointers
Stretch factors to distribute the available space proportionally
Restrict minimum and maximum sizes of items
Add sublayouts nested horizontally and vertically in each directions
Add labels and GroupComponents from XML definition
Movable splitters to split layouts interactively
Add spacers between components

Have fun using it...
Daniel
{'fraction_non_alphanumeric': 0.15823553217320924, 'fraction_numerical': 0.003237555645487657, 'mean_word_length': 5.118811881188119, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6216032', 'n_tokens_mistral': 577, 'n_tokens_neox': 521, 'n_words': 298}