[node-patches] Change in ovirt-node[master]: ui: Add padding to page
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Thu Mar 7 11:29:31 UTC 2013
Fabian Deutsch has uploaded a new change for review.
Change subject: ui: Add padding to page
......................................................................
ui: Add padding to page
Previously the "page" part of the screen (right side in the setup or the
body part in the installer) ended directly at the screen borders.
Now a padding is added to improve the visual appearance.
Change-Id: I9388de4f11bb51bcbef0ac7518a7cebeebc498e1
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/tui/src/ovirt/node/ui/urwid_builder.py
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/26/12826/1
diff --git a/scripts/tui/src/ovirt/node/ui/urwid_builder.py b/scripts/tui/src/ovirt/node/ui/urwid_builder.py
index 76d5b1b..b9b90d0 100644
--- a/scripts/tui/src/ovirt/node/ui/urwid_builder.py
+++ b/scripts/tui/src/ovirt/node/ui/urwid_builder.py
@@ -507,7 +507,8 @@
self.logger.debug("Displaying page %s" % page)
# filler = urwid.Filler(page, ("fixed top", 1), height=35)
filler = urwid.Pile([page])
- self.__page_frame.body = filler
+ padding = urwid.Padding(filler, left=1, right=1)
+ self.__page_frame.body = padding
def __display_as_dialog(self, body, title, escape_key="esc"):
self.logger.debug("Displaying dialog: %s / %s" % (body, title))
--
To view, visit http://gerrit.ovirt.org/12826
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9388de4f11bb51bcbef0ac7518a7cebeebc498e1
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
More information about the node-patches
mailing list