Commit d3e41aef authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

fix issues in layout for FieldContainer (hbox) and FieldSet (vbox).

parent bb0eaa28
...@@ -858,6 +858,9 @@ def to_panelWithUrlSelector(table, selectorTitle='Select', **kwargs): ...@@ -858,6 +858,9 @@ def to_panelWithUrlSelector(table, selectorTitle='Select', **kwargs):
# build the selector from the table # build the selector from the table
fields = to_fields(table) fields = to_fields(table)
selector = FieldSet(items=fields, selector = FieldSet(items=fields,
layout={'align': 'stretch',
'type':'vbox',
'vertical':True},
plugins=['pFormToolTip'], plugins=['pFormToolTip'],
title=current.T(selectorTitle)) title=current.T(selectorTitle))
......
...@@ -105,8 +105,8 @@ class FieldsModifier(Modifier): ...@@ -105,8 +105,8 @@ class FieldsModifier(Modifier):
""" """
# configuration of the FieldContainer # configuration of the FieldContainer
cfg = dict(combineLabels=True, cfg = dict(combineLabels=True,
defaults={'columnWidth': 0.465}, defaults={'flex': 1},
layout='column') layout='hbox')
cfg.update(kwargs) cfg.update(kwargs)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment