Home »
Public Forums »
archive »
tree widget sizing
tree widget sizing [message #36135] |
Fri, 22 August 2003 11:48 |
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
|
|
|
Current Time: Fri Oct 10 19:35:13 PDT 2025
Total time taken to generate the page: 1.28715 seconds