Commit Graph

16 Commits (d6016788ef29ec5895c5d9ff715e1caf556b2389)

Author SHA1 Message Date
Florian Dehau d6016788ef refactor: clippy + rustfmt 6 years ago
Florian Dehau ad602a54bf refactor(widgets): replace text rendering in Paragraph
* remove custom markup language
* add Text container for both raw and styled strings
6 years ago
Robin Nehls 3f8a9079ee [widgets] implement text alignment for paragraph widget 6 years ago
Florian Dehau 36a5eb2110 Format code 6 years ago
Xavier Bestel f4052e0e71 fix colors use, add missing Blue 6 years ago
Florian Dehau 36dea8373f [widgets][paragraph] Fix text wrapping 6 years ago
Florian Dehau 151d7e8a1c [src] Update dependencies
* Update all dependencies to their latest versions
* Change border to Borders to match v1.0 of bitflags
7 years ago
Florian Dehau 1f285fbac0 [src] Run cargo fmt 7 years ago
Florian Dehau 71545a0aa8 Run cargo fmt 7 years ago
Florian Dehau b1737ce667 Update Widget Trait
The draw function now take a &mut reference to the widget, allowing the
widget to modify itself when drawn. This change the semantic of the draw
call since the widget should now be considered "consumed" after it.
7 years ago
Florian Dehau b2bb24b9d2 Fix rustfmt and clippy errors 7 years ago
Sebastian Woetzel 81cedbd6f2
fixes scroll handling for paragraph widget 7 years ago
Florian Dehau 116ee4439a Improve Paragraph widget
* Add the possibility to disable the markup rendering
* Fix parser error
8 years ago
Florian Dehau 5efc52e03d Fix parser in paragraph 8 years ago
Florian Dehau 662e2dd102 Fix examples 8 years ago
Florian Dehau 224eb2d8e0 Add support for text styling 8 years ago