libcosmic/examples/text
Eduardo Flores 7743d0d084 Implemented Expander
- Updated example to show behavior
- Created styles for Expander and ExpanderRow
- Simpler implementation of `ExpanderRow`
- Deleted `ExpanderData` and replaced it with `ExpanderRow`
- Every row can now have child rows.
- Ran cargo fmt.
- Deleted settings example
- Added expander to cosmic example
- Expander icons now render

ListBox partially implemented
2022-10-13 11:42:13 +02:00
..
res Add UDHR samples 2022-10-12 15:24:30 -06:00
src Implemented Expander 2022-10-13 11:42:13 +02:00
Cargo.toml Use log to reduce prints 2022-10-12 13:59:23 -06:00
README.md Update readmes 2022-10-03 14:00:42 -06:00

Text

An example showcasing multi-line text shaping and rendering.

All the example code is located in the main file.

You can run it with cargo run:

cargo run --package text --release

To test with a monospace font, you can run it with the mono feature:

cargo run --package text --features mono --release