fix: Remove non-existent max_height method call
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
@@ -157,13 +157,11 @@ pub fn mode_list(
|
|||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Apply alignment and max height
|
// Apply alignment
|
||||||
cell = match column.align {
|
cell = match column.align {
|
||||||
crate::config::ColumnAlignment::Right => cell.set_alignment(CellAlignment::Right),
|
crate::config::ColumnAlignment::Right => cell.set_alignment(CellAlignment::Right),
|
||||||
crate::config::ColumnAlignment::Left => cell.set_alignment(CellAlignment::Left),
|
crate::config::ColumnAlignment::Left => cell.set_alignment(CellAlignment::Left),
|
||||||
};
|
};
|
||||||
// Set max height of 3 for the cell
|
|
||||||
let cell = cell.max_height(3);
|
|
||||||
table_row.add_cell(cell);
|
table_row.add_cell(cell);
|
||||||
}
|
}
|
||||||
table.add_row(table_row);
|
table.add_row(table_row);
|
||||||
|
|||||||
Reference in New Issue
Block a user