Question ?
I have the following code :
GoListGroup dataValues = new GoListGroup();
dataValues.Selectable = false;
dataValues.Editable = true;
dataValues.Orientation = Orientation.Horizontal;
dataValues.Alignment = MiddleCenter;
dataValues.Add( [GoText] );
dataValues.Add( [GoImage] );
The GoText has the following description :
GoText gt = new GoText();
gt.Selectable = false;
gt.AutoResizes = true;
And this GoListGroup is in a GoGroup like this :
GoGroup element = new GoGroup();
element.Selectable = false;
element.Editable = true;
element.Add( [dataValues] );
this.Icon = element;
this.Icon.Selectable = false;
this.Editable = true;
this.Resizable = false;
this.Reshapable = false;
(THIS = GoSimpleNode)
I override OnSingleClick of my node to get the selector icon and to show a contextual menu.
Toolstrip clicking modifies the GoText and the GoSimple has th efollowing behaviour :
- A text which is 20 caracters long =>the GoSimple resizes itself at the good width
- Then, when I choose a text which is 10 caracters long => the GoSimple doesn't resize itself to reduce its width
Thanks.
- WHY ?