Should the Position
enum be moved to ratatui::layout
?
#1113
Closed
kdheepak
started this conversation in
Discussion
Replies: 2 comments 3 replies
-
I guess there's another Maybe |
Beta Was this translation helpful? Give feedback.
2 replies
-
The title::Position enum is going to be deprecated in my pr. Instead, it's moved to block::TitlePosition because the title module is deprecated entirely |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently
Alignment
enum comes fromratatui::layout::alignment
, e.g.ratatui::layout::alignment::Alignment::Right
butPosition
enum comes fromratatui::widgets::block::title
, e.g.ratatui::widgets::block::title::Position::Bottom
.Here's an example usage:
Beta Was this translation helpful? Give feedback.
All reactions