[gen] UI improvements.

This commit is contained in:
Gaetan Delannay 2013-04-11 16:01:52 +02:00
parent 1d2a19a1c6
commit d480e58d01
12 changed files with 87 additions and 77 deletions

View file

@ -1215,7 +1215,7 @@ class String(Type):
if width == None:
if format == String.TEXT: self.width = 60
# This width corresponds to the standard width of an Appy page.
if format == String.XHTML: self.width = 870
if format == String.XHTML: self.width = None
else: self.width = 30
if height == None:
if format == String.TEXT: self.height = 5