I'm having problems with wxTreeCtrl. I want some items in the tree to
have icons, and some to be without. Like this:
+ parent1
(icon) child1
(icon) child2
+ parent2
(icon) child3
When setting the children's icons in the tree, the twist buttons are
replaced by the first image in the image list. I have tried to set the
parents' icon to -1, no success. I have also tried to set a blank image
in front of the parents, but then the parents are indented much more than
the children, very ugly. PLEASE HELP!
I'm having problems with wxTreeCtrl. I want some items in the tree to
have icons, and some to be without. Like this:
+ parent1 (icon) child1
(icon) child2
+ parent2
(icon) child3
When setting the children's icons in the tree, the twist buttons are
replaced by the first image in the image list. I have tried to set the
parents' icon to -1, no success. I have also tried to set a blank image
in front of the parents, but then the parents are indented much more than
the children, very ugly. PLEASE HELP!
Platform and version?
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
Susanne Lefvert wrote:
> Hi,
>
> I'm having problems with wxTreeCtrl. I want some items in the tree to
> have icons, and some to be without. Like this:
>
> + parent1
> (icon) child1
> (icon) child2
>
> + parent2
> (icon) child3
>
>
> When setting the children's icons in the tree, the twist buttons are
> replaced by the first image in the image list. I have tried to set the
> parents' icon to -1, no success. I have also tried to set a blank image
> in front of the parents, but then the parents are indented much more than
> the children, very ugly. PLEASE HELP!
>
Platform and version?
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
I'm having problems with wxTreeCtrl. I want some items in the tree to
have icons, and some to be without. Like this:
+ parent1 (icon) child1
(icon) child2
+ parent2
(icon) child3
When setting the children's icons in the tree, the twist buttons are
replaced by the first image in the image list. I have tried to set the
parents' icon to -1, no success. I have also tried to set a blank image
in front of the parents, but then the parents are indented much more than
the children, very ugly. PLEASE HELP!
Platform and version?
Please enter a bug report with wxMSW category.
···
On Mon, 17 Feb 2003, Robin Dunn wrote:
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!