Closed GoogleCodeExporter closed 9 years ago
This is an issue for the hr_formsearchpanel. Basically one builds a custom form
panel. The whitespace is by default taken by the "status panel" which displays
messages and search feedback, usually a single line. The properties of this
Panel are by default in the 'statusPanelOpts' config. This can be modified in
one's config by overriding statusPanelOpts.It has to be specified completely
though, not just a single attribute. So height (default 132) and margins could
be altered, such that all fit nicely into a fixed sized form. See properties:
/** api: property[statusPanelOpts]
* Layout for the status Panel.
*/
statusPanelOpts: {
html: ' ',
height: 132,
preventBodyReset: true,
bodyCfg: {
style: {
padding: '6px',
border: '0px'
}
},
style: {
marginTop: '24px',
paddingTop: '24px',
fontFamily: 'Verdana, Arial, Helvetica, sans-serif',
fontSize: '11px',
color: '#0000C0'
}
},
Original comment by jus...@gmail.com
on 31 May 2013 at 4:42
Ok, this isn't a bug then.
Where does statusPanelOpts go in the greater scheme of things? I placed it
inside hropts between searchPanel and resultPanel at that level, but it doesn't
seem to have done anything.
Might be worth putting in an example.
Original comment by jonathan...@warwickshire.gov.uk
on 3 Jun 2013 at 10:42
The statusPanelOpts are related to the searchpanel (hr_formsearchpanel) and
should be placed in its config. The Config.js from the formsearchcenter example
(http://lib.heron-mc.org/heron/latest/examples/formsearchcenter/) is attached
here. In particular 'height', margin and padding fields have effect. For more
space gain the xtype: "label", item can be left out.
Can we consider the issue fixed?
Original comment by jus...@gmail.com
on 4 Jun 2013 at 3:55
Attachments:
Yep. Thanks.
Original comment by jonathan...@warwickshire.gov.uk
on 4 Jun 2013 at 4:01
Original issue reported on code.google.com by
jonathan...@warwickshire.gov.uk
on 30 May 2013 at 3:11Attachments: