ui: Fix preview window padding: we want horizontal, not vertical

This commit is contained in:
Blaž Hrastnik 2021-08-24 13:21:49 +09:00
parent a5c3c6c6a9
commit e6cb183134

View file

@ -106,8 +106,8 @@ impl<T: 'static> Component for FilePicker<T> {
let inner = block.inner(preview_area);
// 1 column gap on either side
let margin = Margin {
vertical: 1,
horizontal: 0,
vertical: 0,
horizontal: 1,
};
let inner = inner.inner(&margin);