mirror of
https://codeberg.org/icewind/logsmash.git
synced 2026-06-03 18:14:11 +02:00
updates
This commit is contained in:
parent
7a524ae1d4
commit
1af4aa6de9
4 changed files with 182 additions and 203 deletions
|
|
@ -143,7 +143,7 @@ fn ui(frame: &mut Frame, app: &App, state: &mut UiState) {
|
|||
Constraint::Percentage(100),
|
||||
Constraint::Length(1),
|
||||
])
|
||||
.split(frame.size());
|
||||
.split(frame.area());
|
||||
|
||||
match state {
|
||||
UiState::Quit => {}
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ impl<'a> ScrollbarTable<'a> {
|
|||
ScrollbarTable {
|
||||
table: Table::new(rows, widths)
|
||||
.block(Block::new().borders(Borders::RIGHT))
|
||||
.highlight_style(TABLE_SELECTED_STYLE)
|
||||
.row_highlight_style(TABLE_SELECTED_STYLE)
|
||||
.highlight_spacing(HighlightSpacing::Always),
|
||||
scrollbar: Scrollbar::new(ScrollbarOrientation::VerticalRight)
|
||||
.begin_symbol(Some("↑"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue