In this issue, my goal is to implement a feature, where the user can change how the HS appears. So maybe a check box in field settings that, the drop-down list float left next to each other, or every drop-down will place in a new line.

Comments

Wim Leers’s picture

Title: Every select field appears in new line » Ability to configure orientation of HS: not just horizontal, but also vertical

Okay. Please contribute a patch! :)

You'll have to make sure this is documented in the included documentation (API.txt). It may also be a good thing to add this to HS' unified config UI in common.inc.

K.MacKenzie’s picture

I would like to point out that this could be themed in fairly easily; so if your goal is simply the result, consider altering the width of the div that contains the drop downs.

The javascript will automatically put the dropdown on the next line if there is no more room in the div. So if the individual dropdowns and the div container are the same width you will get a vertical result, if the all of the dropdowns total combined width is less or the same as the container width, you will get a horizontal result.

Hope that helps.

Wim Leers’s picture

Priority: Normal » Minor
Status: Active » Postponed

I'm aware of the fact that this is easy to implement. However, we also need to extend the UI to support this. Plus, very few people want this. That's why I'm not going to implement this myself, but am only going to welcome this as a patch.

Hence marking as postponed.