Make the inputs bigger in DataForm, to be able to see long values more easily

This commit is contained in:
Florent Le Coz 2014-05-04 20:55:29 +02:00
parent ce90a37249
commit 7378ea96d3

View file

@ -512,8 +512,8 @@ class FormWin(object):
for name, field in self._form.getFields().items():
if field['type'] == 'hidden':
continue
self.inputs[i]['label'].resize(1, self.width//3, y + 1, 0)
self.inputs[i]['input'].resize(1, self.width//3, y+1, 2*self.width//3)
self.inputs[i]['label'].resize(1, self.width//2, y + 1, 0)
self.inputs[i]['input'].resize(1, self.width//2, y+1, self.width//2)
# TODO: display the field description
y += 1
i += 1