[node-patches] Change in ovirt-node[master]: ui: Fix clipping of Entry contents

fabiand at fedoraproject.org fabiand at fedoraproject.org
Mon Jun 17 11:11:01 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: ui: Fix clipping of Entry contents
......................................................................

ui: Fix clipping of Entry contents

Previously the text just disappeared, now the entry field scrolls to the
correct place in the text.

Change-Id: Ia4827648dee546c64ceea81cb833c434a780878f
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/ui/widgets.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/91/15791/1

diff --git a/src/ovirt/node/ui/widgets.py b/src/ovirt/node/ui/widgets.py
index a5a13ba..59eb6ba 100644
--- a/src/ovirt/node/ui/widgets.py
+++ b/src/ovirt/node/ui/widgets.py
@@ -449,7 +449,7 @@
         self._label = urwid.Text(label)
         self._label_attrmap = urwid.AttrMap(self._label,
                                             "plugin.widget.entry.label")
-        self._edit = EditWithChars(mask=mask)
+        self._edit = EditWithChars(mask=mask, wrap="clip")
         self._edit_attrmap = urwid.AttrMap(self._edit, "plugin.widget.entry")
         self._linebox = urwid.LineBox(self._edit_attrmap)
         self._linebox_attrmap = urwid.AttrMap(self._linebox,


-- 
To view, visit http://gerrit.ovirt.org/15791
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia4827648dee546c64ceea81cb833c434a780878f
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