0

I have a form that looks like this:

enter image description here

But I'd like it to look like this (fields side-by-side instead of on top of one another):

enter image description here

How can I do this?

If you're interested in the code, here is an example field in Module/Block/Adminhtml/Sqlreport/Edit/Form.php:

$fieldset->addField("column_description", 'text', array(
    'name'      => 'column_description',
    'label'     => 'Description',
    'class'     => 'sqlreport_column_description',
));
1
  • 3
    As per Magneto Standard It will not achive. But if you want to developed this thing then you have to must handle using your Custom CSS
    – Keyul Shah
    Jun 25, 2014 at 3:09

1 Answer 1

1

It is mostly CSS related question. You can do this if you have a parent class of this form, or if you have a specific class for every of this columns.

In example for a specific classe's of these columns!

  • Checkbox Entity has a class .sqlreport_column_entity
  • Description has a class .sqlreport_column_description
  • Header has a class .sqlreport_column_header

Now in CSS files you'd have to style all above classes with

.sqlreport_column_* {
float:left;
}

And all other styling that would be necessary.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.