Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Disable the automatic resize of the window when the length of the label is too long

Solved883 views6th April 2022automation scipt
1
Jason Wan [SLC] [DevOps Advocate]216 4th April 2022 0 Comments

Hi,

I am currently working on the interactive automation script using the Interactive Automation Script Toolkit, in which the section contains several labels to display the message.

However, I notice that the window will resize based on the longest length of the text in one of the labels, which means the longer the text is the bigger the window is, and vice versa until it meets the minimum width requirement.  (Please refer to the screenshot below)

May I know if there is any way to disable the automatic resize of the interactive automation script window (or dialog)?

Thanks!

Jason Wan [SLC] [DevOps Advocate] Selected answer as best 6th April 2022

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Sebastiaan Dumoulein [SLC] [DevOps Enabler]12.79K Posted 4th April 2022 2 Comments

Hi Jason,

Building interactive script UIs is done using a grid. The columns of the grid are defined on the UIBuilder object using the ColumnDefs property.

This property contains a semi-colon separated list of values where:

  • Auto: Means the column will indefinitely scale until all the content fits inside the column.
  • *: Means the remaining space of the grid is calculated and is divided amongst all columns that containg an asterisk. Note that you can use 2*, 3*, etc as well.
  • 100: Means the column will be a 100px.

So your column definitions could look something like this: *;*;auto;200

Your issue can be resolved by either:

  • setting the column span property of the label so it spans multiple columns
  • changing the way the column behaves
  • setting the dimensions of the label directly using the Width or MaxWidth property
Jason Wan [SLC] [DevOps Advocate] Selected answer as best 6th April 2022
Ive Herreman [SLC] [DevOps Enabler] commented 4th April 2022

When working with the IASToolkit, the width for your columns can be set in using the SetColumnWidth(col, width) method in your Dialog definition.

Jason Wan [SLC] [DevOps Advocate] commented 5th April 2022

Thank you Sebastiaan and Ive. I resolve the issue by using both SetColumnWidth and setting the column span of the label.

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs