summaryrefslogtreecommitdiff
path: root/src/tabs/data_forms.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-05-04 20:55:29 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-05-04 21:05:47 +0200
commit7378ea96d3bb0074c590d3d305141079bae48815 (patch)
tree33c852a9e577a7ad86a377628fa8d72d03f07862 /src/tabs/data_forms.py
parentce90a3724996b7095e0800685a613a362fd09928 (diff)
downloadpoezio-7378ea96d3bb0074c590d3d305141079bae48815.tar.gz
poezio-7378ea96d3bb0074c590d3d305141079bae48815.tar.bz2
poezio-7378ea96d3bb0074c590d3d305141079bae48815.tar.xz
poezio-7378ea96d3bb0074c590d3d305141079bae48815.zip
Make the inputs bigger in DataForm, to be able to see long values more easily
Diffstat (limited to 'src/tabs/data_forms.py')
-rw-r--r--src/tabs/data_forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tabs/data_forms.py b/src/tabs/data_forms.py
index dd03e5eb..bdefbfde 100644
--- a/src/tabs/data_forms.py
+++ b/src/tabs/data_forms.py
@@ -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