mirror of
https://git.sdf.org/epl692/tui-mqtt-chat.git
synced 2025-12-08 05:48:49 -05:00
Size Adjustment of UI.
This commit is contained in:
@@ -244,7 +244,7 @@ fn ui(f: &mut Frame, app: &mut App) {
|
||||
let chunks = Layout::default()
|
||||
.direction(Direction::Vertical)
|
||||
.margin(1)
|
||||
.constraints([Constraint::Percentage(80), Constraint::Percentage(20)].as_ref())
|
||||
.constraints([Constraint::Percentage(70), Constraint::Percentage(30)].as_ref())
|
||||
.split(f.size());
|
||||
|
||||
let messages: Vec<ListItem> = app
|
||||
|
||||
Reference in New Issue
Block a user