Size of multi-select fields

Moderator: crythias

Locked
leo5nidas
Znuny newbie
Posts: 40
Joined: 16 Apr 2012, 02:00
Znuny Version: 3.2.2
Real Name: Fernando Naranjo
Company: Universidad de Zaragoza

Size of multi-select fields

Post by leo5nidas »

Hello

Could anybody tell us how to modify the size of the multi-select fields in OTRS? By default, the height of such fields is small and in the field you can only see 4 elements at a time. We would like that users could see more elements, implying the height of multi-selects fields must be increased.

Thank you.

Best regards
OTRS 3.2.2 (production/testing) on Debian 5.04 Lenny with MySQL database
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Size of multi-select fields

Post by crythias »

http://stackoverflow.com/questions/9943 ... scroll-bar
or modify
/otrs/var/httpd/htdocs/skins/Agent/default/css/Core.Form.css
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Size of multi-select fields

Post by reneeb »

If you want to change the number of shown options, you have to change the Perl sources... There is a parameter "Size" for the method "BuildSelection". See https://github.com/OTRS/otrs/blob/rel-3 ... ts.pm#L449 for an example.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Locked