fix: tx items height
This commit is contained in:
parent
2a0b4903cd
commit
bc29a29b83
1 changed files with 71 additions and 70 deletions
|
@ -316,7 +316,8 @@ impl WalletTransactions {
|
||||||
};
|
};
|
||||||
ui.painter().rect(bg_rect, rounding, color, View::item_stroke());
|
ui.painter().rect(bg_rect, rounding, color, View::item_stroke());
|
||||||
|
|
||||||
ui.allocate_ui_with_layout(rect.size(), Layout::right_to_left(Align::Center), |ui| {
|
ui.allocate_ui_with_layout(rect.size(), Layout::right_to_left(Align::Max), |ui| {
|
||||||
|
ui.horizontal_centered(|ui| {
|
||||||
// Draw button to show transaction info.
|
// Draw button to show transaction info.
|
||||||
if can_show_info && tx.from_node && tx.data.tx_slate_id.is_some() {
|
if can_show_info && tx.from_node && tx.data.tx_slate_id.is_some() {
|
||||||
rounding.nw = 0.0;
|
rounding.nw = 0.0;
|
||||||
|
@ -391,9 +392,9 @@ impl WalletTransactions {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
});
|
||||||
|
|
||||||
let layout_size = ui.available_size();
|
ui.with_layout(Layout::left_to_right(Align::Min), |ui| {
|
||||||
ui.allocate_ui_with_layout(layout_size, Layout::left_to_right(Align::Center), |ui| {
|
|
||||||
ui.add_space(6.0);
|
ui.add_space(6.0);
|
||||||
ui.vertical(|ui| {
|
ui.vertical(|ui| {
|
||||||
ui.add_space(3.0);
|
ui.add_space(3.0);
|
||||||
|
|
Loading…
Reference in a new issue