Updated layout
This commit is contained in:
@@ -25,7 +25,7 @@ pub fn render_captures_list(frame: &mut Frame, area: Rect, app: &App) {
|
|||||||
.direction(Direction::Vertical)
|
.direction(Direction::Vertical)
|
||||||
.constraints([
|
.constraints([
|
||||||
Constraint::Min(6), // Table (flexible, takes remaining)
|
Constraint::Min(6), // Table (flexible, takes remaining)
|
||||||
Constraint::Length(12), // Detail panel (fixed height)
|
Constraint::Length(18), // Detail panel (signal + vulnerability; taller for multiple CVEs)
|
||||||
])
|
])
|
||||||
.split(area)
|
.split(area)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
+1
-1
@@ -33,7 +33,7 @@ pub fn draw_ui(frame: &mut Frame, app: &App) {
|
|||||||
let main_area = frame.area();
|
let main_area = frame.area();
|
||||||
let mut v_constraints = vec![
|
let mut v_constraints = vec![
|
||||||
Constraint::Length(3), // Header (full width)
|
Constraint::Length(3), // Header (full width)
|
||||||
Constraint::Min(8), // Middle: captures + RX bar
|
Constraint::Min(26), // Middle: captures table + detail panel (signal + vulnerability)
|
||||||
Constraint::Length(3), // Status bar (full width)
|
Constraint::Length(3), // Status bar (full width)
|
||||||
Constraint::Length(1), // Help bar (full width)
|
Constraint::Length(1), // Help bar (full width)
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user