mirror of
https://github.com/soywod/himalaya.git
synced 2024-09-29 04:31:11 +00:00
add missing row height for accounts table
This commit is contained in:
parent
8ccabf1fc0
commit
cf064f8e0d
|
@ -33,6 +33,7 @@ impl Account {
|
||||||
|
|
||||||
pub fn to_row(&self, config: &ListAccountsTableConfig) -> Row {
|
pub fn to_row(&self, config: &ListAccountsTableConfig) -> Row {
|
||||||
let mut row = Row::new();
|
let mut row = Row::new();
|
||||||
|
row.max_height(1);
|
||||||
|
|
||||||
row.add_cell(Cell::new(&self.name).fg(config.name_color()));
|
row.add_cell(Cell::new(&self.name).fg(config.name_color()));
|
||||||
row.add_cell(Cell::new(&self.backend).fg(config.backends_color()));
|
row.add_cell(Cell::new(&self.backend).fg(config.backends_color()));
|
||||||
|
|
Loading…
Reference in a new issue