Increase the width of slushbucket in UI Page

Vimal Priya
Giga Guru

Hi All,

I need a quick help in increasing width of slush bucket in ui pages.

I have gone through the servicenowguru Slushbucket Archives and added the UI Page and script include .It does working as expected but only thing I have noticed is width of the populating slush bucket is very small.

I am not sure where to update the width for the slushbucket which is being populated from UI pages.

I have tried setting the ui Page width through glidedialogwindow ui page size resetted but not the slush bucket.

Please help me to get this done .

Thanks in advance.

clone.JPG

1 ACCEPTED SOLUTION

Inactive_Us1474
Giga Guru

Hi Vimal,



Get the id of the bucket as :


var bucket=gel('variable_name');


bucket.size='30px';


bucket.style.width='400px'; // adjust accordingly.



Thanks


Akhil



Hit Like/Helpful/Correct, if applicable.


View solution in original post

5 REPLIES 5

Inactive_Us1474
Giga Guru

Hi Vimal,



Get the id of the bucket as :


var bucket=gel('variable_name');


bucket.size='30px';


bucket.style.width='400px'; // adjust accordingly.



Thanks


Akhil



Hit Like/Helpful/Correct, if applicable.


Anurag Tripathi
Mega Patron
Mega Patron

I did this very recently.
Just adding to Akhil's post. It also adjusts according to the ui page. So make sure u increase that also if the above doesn't work.


-Anurag

Vimal Priya
Giga Guru

Thanks For your quick reply @akhil bhat and @anurag tripathi.



It helped me to alter my scripts as below



var rt=slush.getRightSelect();


  rt.style.width='150px';


  rt.style.height='100px';


  var lt=slush.getLeftSelect();


  lt.style.width='150px';


  lt.style.height='100px';


Hi VimalPriya,



Please help me understand where you have written the above code to get it working as i also have the same situation.



Regards,



Bhavya