This question has been flagged
1 Reply
7213 Views

I am writing a very simple custom module.  I want the height of my fields and controls to be larger than normal.  When I google for help all I find is <field name="field_name" width="field_width"/>

I managed to change the field text size using the <span style=" font-size: 22pt;  height: 22.5pt;line-height: 25pt;margin: 0;padding: 0 0 -2.5pt 0;"/> My problem is that the control remains small, big text small control

How do I change this control height?

Avatar
Discard
Best Answer

Good example is in base/res/res_partner_view.xml ... 
copied form there... id="view_partner_form" ...
<field name="city" placeholder="City" style="width: 40%%" attrs="{'readonly': [('use_parent_address','=',True)]}"/>

Hope this does the trick you need

Avatar
Discard
Author

I doubt that will work. I want to control the HEIGHT of the control e.g the dropcombo

o realy? well.. could you read carefully the subject of this question? does it mention HEIGHT anywhere?

try putting field inside of tags lieke:

.. i didn't try, but souold work...

previous comment contains h tags... so i'l yust write it with spaces... '' '' ' '