I don't have an answer for you (sorry), but it reminded by that I have a
similar question regarding trees, so I thought that I'd chime in with
that:
I'm working on something similar to a MUD-system, with a
user-interface presently in wxPyton. Rather than having a classic
one-dimensional chronological event-display (scrollback), I want
something that can display event-contexts, which means that every
MUD-event is a node in a directed graph of MUD-events.
Every MUD-event is represented on-screen by a textual description of
the event (e.g.: "barney says, `foo.'", "fred hits barney.", "barney
. o ( ouch! )"), which may be of any length.
At the moment, it's acceptable for the event-graphs to be acyclic and
even for events to be singularly-contexted--in other words, it's OK to
just have trees.
So, I tried using wxTreeCtrl, and discovered that it doesn't wrap
labels when they're too long to fit in the available horizonal space.
wxTreeCtrl also accepts only strings as labels, so I can't put little
wxTextCtrls or something else as label-widgets (I think that I can do
this with GTK+...).
Right now, I think that I just want a keyboard-navigable,
foldable/unfoldable tree with autowrapping text-labels.
What's the easiest way for me to get one of those?
···
On Wed, Mar 13, 2002 at 04:29:26PM +0100, Sparrman, David wrote:
Is it somehow possible to specify that the individual radio button
labels should line wrap?
I have a radiobox with a fixed size, and want to (programmatically)
set the list of radio buttons to show. It does not seem to be
possible to force a linewrap with \n, and if the strings are too
long it will look very ugly. Have tried to use style wxTE_MULTILINE
to the radiobox, but to no effect.