Text cell should not be rendered in single-paragraph-mode

issue4688
review13131002
This commit is contained in:
Cédric Krier committed 2015-04-07 23:30:05 +02:00
1 parent a521b810f4
commit ecdf7149e3
2 files changed
+6 -2

No files matched your search

+2 -2
View File
@@ -22,7 +22,7 @@ from tryton.common import domain_inversion, simplify, unique_value
import tryton.common as common
from . import View
from .list_gtk.editabletree import EditableTreeView, TreeView
from .list_gtk.widget import (Affix, Char, Int, Boolean, URL, Date,
from .list_gtk.widget import (Affix, Char, Text, Int, Boolean, URL, Date,
Time, Float, TimeDelta, Binary, M2O, O2O, O2M, M2M, Selection, Reference,
ProgressBar, Button, Image)
@@ -427,7 +427,7 @@ class ViewTree(View):
'biginteger': Int,
'time': Time,
'boolean': Boolean,
'text': Char,
'text': Text,
'url': URL,
'email': URL,
'callto': URL,
@@ -301,6 +301,10 @@ class Char(GenericText):
cell.set_property('single-paragraph-mode', True)
class Text(GenericText):
pass
class Int(GenericText):
def __init__(self, view, attrs, renderer=None):