css - OpenERP (view) - change with space between label and field? -
how can change width space between label , field? has fixed space between label , field example this:
label1 field1 label2 field2 label3 field3
if labels of different size view this..:
label1 field1 longer_label2 field2 even_longer_label3 field3
didn't find way reduce spacing between label , field. looks if space missing, openerp tries reduce field width first, not space between label , field. better picture i'm talking about, @ image:
you can see space between label ('dispečerinė') , actual field fixed, instead reduced field width, can't see , can't choose value (it reduced this, because there more fields on same line put). how adjust spacing, put more fields on same line , not mess in image?
p.s. maybe possible change position of labels, appear above field , not occupy same line?
edit: example code
<group> <group> <group> <field name="partner_dispatch_id"/> <field name="company_amb_id"/> <field name="call_id"/> <field name="patient_numb"/> </group> <group> <field name="dispatcher_numb"/> <field name="team_crew_id"/> <field name="life_support"/> <field name="adv_life_support"/> </group> </group> <group> </group>
you can revert modifying file
"addons/web/static/src/css/base.css"
.openerp .oe_form td.oe_form_group_cell_label label { line-height: 18px; display: block; min-width: 140px; /* remove line */ }
Comments
Post a Comment