Veena,

You can achieve this either through use of the windowWidth and
windowHeight attributes of the commandButton/commandLink tags, or
programmatically via injection of the width and height properties into a
LaunchEvent:

    public void processLaunch(LaunchEvent event)
    {
        event.getWindowProperties().put("width", "300");
        event.getWindowProperties().put("height", "300");
    }

All the best,

Shawn Bertrand
Tyco Electronics Corporation


-----Original Message-----
From: veena pandit [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 05, 2008 2:50 PM
To: [email protected]
Subject: [TRINIDAD] Resizing the window size(height and width) of a
dialog box

Just wanted to clarify on my earlier post. I am using the Trinidad
dialog framework and I want the dialog size to fit the contents so
that there are no scroll bars.

Thanks in advance...

Reply via email to