mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-26 22:50:47 +00:00
60150f6236
for now the value is converted to a string and then printed. in many cases the values are too wide or double values. so it make sense to set a custom value text instead of the default behavior. this patch suggests to add a method "fn text_value(mut self, text_value: String)" to the Bar, which allows to override the value printed in the bar Signed-off-by: Ben Fekih, Hichem <hichem.f@live.de> |
||
---|---|---|
.. | ||
demo | ||
barchart.rs | ||
block.rs | ||
calendar.rs | ||
canvas.rs | ||
chart.rs | ||
custom_widget.rs | ||
gauge.rs | ||
hello_world.rs | ||
inline.rs | ||
layout.rs | ||
list.rs | ||
panic.rs | ||
paragraph.rs | ||
popup.rs | ||
scrollbar.rs | ||
sparkline.rs | ||
table.rs | ||
tabs.rs | ||
user_input.rs |