Decide that nick list should be variable width
This commit is contained in:
parent
3bbe52b797
commit
15f628aaad
1 changed files with 0 additions and 4 deletions
|
|
@ -26,8 +26,6 @@ pub struct EuphRoom {
|
||||||
ui_event_tx: mpsc::UnboundedSender<UiEvent>,
|
ui_event_tx: mpsc::UnboundedSender<UiEvent>,
|
||||||
room: Option<euph::Room>,
|
room: Option<euph::Room>,
|
||||||
chat: ChatState<EuphMsg, EuphVault>,
|
chat: ChatState<EuphMsg, EuphVault>,
|
||||||
|
|
||||||
nick_list_width: u16,
|
|
||||||
nick_list: ListState<String>,
|
nick_list: ListState<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -37,7 +35,6 @@ impl EuphRoom {
|
||||||
ui_event_tx,
|
ui_event_tx,
|
||||||
room: None,
|
room: None,
|
||||||
chat: ChatState::new(vault),
|
chat: ChatState::new(vault),
|
||||||
nick_list_width: 24,
|
|
||||||
nick_list: ListState::new(),
|
nick_list: ListState::new(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -105,7 +102,6 @@ impl EuphRoom {
|
||||||
]))
|
]))
|
||||||
.expanding(true),
|
.expanding(true),
|
||||||
Segment::new(VRule),
|
Segment::new(VRule),
|
||||||
// TODO Fix nick list width
|
|
||||||
Segment::new(self.nick_list_widget(joined)),
|
Segment::new(self.nick_list_widget(joined)),
|
||||||
])
|
])
|
||||||
.into()
|
.into()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue