Skip to main content
deckarduk
Inspiring
May 22, 2023
Question

InDesign JS - listbox column width query...

  • May 22, 2023
  • 2 replies
  • 370 views

Hi everyone,

I've created a palette that contains a listBox containing several columns with info in them.

Due to the width of the info the user may have to resize columns as desired.

The palette has a refresh button that reloads the info in the listBox - this works ok when it comes to reloading the info. The only slight niggle is that if the user has adjusted the column widths they are reset when the refresh button is used.

Is there a way of remembering the column widths, and re-applying them, when the user clicks the refresh button?

Thanks 🙂

This topic has been closed for replies.

2 replies

Peter Kahrel
Community Expert
Community Expert
May 22, 2023

No, unfortunately that's not possible.

deckarduk
deckardukAuthor
Inspiring
May 23, 2023

Hi Peter,

Thanks for the help and thank you too for the ScriptUI guide, it's been really useful.

Pity about the column widths, I may rethink the layout of the listBox.

Thanks once again Peter.