cancel
Showing results for 
Search instead for 
Did you mean: 
karlsanada13
Nintex Newbie

List lookup control height change

Is it just me or the control height of the list lookup on Nintex form is kind of small? I cannot change the height even if I drag the control down.

I even tried using css to change it, but when I preview it it is still small

Labels: (2)
0 Kudos
Reply
12 Replies
Automation Master
Automation Master

Re: List lookup control height change

could you post a screenshot to see what problem do you exactly experience?

how do render the control (display format)?

0 Kudos
Reply
karlsanada13
Nintex Newbie

Re: List lookup control height change

The default height is fine actually. However, I wish the height could be changed as well. I could drag it down to be longer, but somehow, the heigh didn't change when previewing.

Is there a way to make the buttons bigger instead? (Add and remove button)

0 Kudos
Reply
Automation Master
Automation Master

Re: List lookup control height change

height resp. number of rows of multiselect lookup control is fixed by design (7 rows if I recall correctly)

it's only changeable with javascript.

size of buttons is not configurable either, but I'd say they might be enlarged with a javascript or CSS as well.

0 Kudos
Reply
karlsanada13
Nintex Newbie

Re: List lookup control height change

I see. Well, it is fine by me if it by design.

Speaking of javascript and css, can you give me both snippets on how to enlarge the buttons and to call them through javascript.

 

Here's another thread for another question that is actually connected to this thread as well.

Thank you for all your help.

0 Kudos
Reply
Automation Master
Automation Master

Re: List lookup control height change

with CSS you can achieve it eg. as follows

- add a 'CSS class'  to lookup control (eg. MSLL)

- define style for the class in form settings >> custom CSS, eg.

.MSLL button{
   width: 200px !important;
   height: 100px !important;
}
0 Kudos
Reply
karlsanada13
Nintex Newbie

Re: List lookup control height change

Actually I tried doing that but the height still didn't work for some reasons when I try to preview it.

0 Kudos
Reply
Automation Master
Automation Master

Re: List lookup control height change

don't you apply any other CSS on the element that my overrule this settings? or don't you manipulate control with a javascript?

for me it works...

try rather on published form, preview need not always work reliably

Reply
karlsanada13
Nintex Newbie

Re: List lookup control height change

Oops, I meant I tried doing it on the control itself, and it didn't work. However, what you suggested did work with the buttons only. Thank you for that.

Now, is there anyway to call the add or remove button through javascript? I need to do some validation when the add button is clicked.

0 Kudos
Reply
Automation Master
Automation Master

Re: List lookup control height change

Now, is there anyway to call the add or remove button through javascript? I need to do some validation when the add button is clicked.

so do you want to trigger or handle button click event?

0 Kudos
Reply