Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
w2pext
plugin_dbui
Commits
d3e41aef
Commit
d3e41aef
authored
Jun 28, 2016
by
LE GAC Renaud
Browse files
fix issues in layout for FieldContainer (hbox) and FieldSet (vbox).
parent
bb0eaa28
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
modules/plugin_dbui/converter.py
modules/plugin_dbui/converter.py
+3
-0
modules/plugin_dbui/fieldsmodifier.py
modules/plugin_dbui/fieldsmodifier.py
+2
-2
No files found.
modules/plugin_dbui/converter.py
View file @
d3e41aef
...
...
@@ -858,6 +858,9 @@ def to_panelWithUrlSelector(table, selectorTitle='Select', **kwargs):
# build the selector from the table
fields
=
to_fields
(
table
)
selector
=
FieldSet
(
items
=
fields
,
layout
=
{
'align'
:
'stretch'
,
'type'
:
'vbox'
,
'vertical'
:
True
},
plugins
=
[
'pFormToolTip'
],
title
=
current
.
T
(
selectorTitle
))
...
...
modules/plugin_dbui/fieldsmodifier.py
View file @
d3e41aef
...
...
@@ -105,8 +105,8 @@ class FieldsModifier(Modifier):
"""
# configuration of the FieldContainer
cfg
=
dict
(
combineLabels
=
True
,
defaults
=
{
'
columnWidth'
:
0.465
},
layout
=
'
column
'
)
defaults
=
{
'
flex'
:
1
},
layout
=
'
hbox
'
)
cfg
.
update
(
kwargs
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment