I have an exposed filter dropdown with a depth of 2, and it works properly, however I would like to increase the indent for better readability.

Currently, my dropdown displays like:

USA
-Tennessee 
--Nashville
-Texas
--Austin
--Dallas

but I'd like to triple the hyphen indenting, so there is more visual separation:

USA
---Tennessee 
------Nashville
---Texas
------Austin
------Dallas

I've looked, but couldn't find any configuration value where the indent value could be changed. Could someone please help point me in the right direction? Thanks.

Comments

dawehner’s picture

Status: Active » Fixed

There is currently no other way beside using hook_form_alter and change all values there.

tj2653’s picture

Thanks, Daniel. I know it's frowned upon, but do you know where the hyphen/dash is being output, so I can hardcode it to be "---" instead? Or are you saying it's too embedded and/or would break other things if I changed it?

dawehner’s picture

Well i don't think hacking views is a good idea, but hey modules/taxonomy/views_handler_field_term_node_tid.inc

tj2653’s picture

I think it was actually views_handler_filter_term_node_tid.inc, but thanks for getting me on the right track!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.