comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » tree widget sizing
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
tree widget sizing [message #36135] Fri, 22 August 2003 11:48
robert.dimeo is currently offline  robert.dimeo
Messages: 42
Registered: November 2001
Member
Hi,

I am using WIDGET_TREE in an application where the leaves represent
data sets. The labels (VALUEs) for the leaf widgets are the filenames
(minus the path) and can vary in length at runtime. So setting a
fixed width for the tree widget is not a good solution to the problem
of viewing the whole label (which is what I want to do). Since the
tree widget does not have a DYNAMIC_RESIZE keyword like the button
widgets I'm not sure how to resize the tree widget at runtime. Does
anyone have any good ideas on how to dynamically change the tree
widget size so that the user can see the entire leaf label? My only
idea is a hack in which I destroy the widget and create it again with
a new width (mapping and unmapping the base accordingly)...ugh...!

Thanks,

Rob
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: STRSPLIT function AWOL from IDL 6.0 !?!?
Next Topic: a question..

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 00:52:23 PDT 2025

Total time taken to generate the page: 0.80399 seconds