Text gets cut when adding image to Tooltip

This post has 5 Replies | 4 Followers

Points 115
PriyadarshiniR
Replied On: Wed, Aug 6 2008 5:58 AM

I am using Infragistics.Win.Tooltip. When an image is added to it, the tooltip text gets cut. However it works fine when there is no image.

  • Post Points: 20
Replied On: Wed, Aug 6 2008 10:55 AM

 Are you using the latest hot fix? That sounds like a bug that was fix a long time ago. 

Mike Saltzman

Manager - Windows Forms Development

Infragistics, Inc.

  • Post Points: 20
Points 110
Jezze
Replied On: Tue, May 15 2012 4:44 AM

Hi Mike,

I found this old topic by searching for a similar Problem. I have an UltraTree in Grid style, which displays booleans as descriptive text with preceding Icon.

Here is some code how I setup the column.

UltraTreeNodeColumn column = columnSet.Columns["ColumnKey"];

ValueList valueList = new ValueList();
valueList.DisplayStyle = ValueListDisplayStyle.DisplayTextAndPicture;

ValueListItem valueFalse = valueList.ValueListItems.Add(
false
, "Advanced description for false"); ValueListItem valueTrue = valueList.ValueListItems.Add(
true
, "Advanced description for true"); valueFalse.Appearance.Image = Resources.FalseImage16; valueTrue.Appearance.Image = Resources.TrueImage16; column.ValueList = valueList;

The problem seems to be, that the image is not part of the content of the cell and therefore the tooltip is cut by the size of the image (16 × 16 pixel). An other relating problem is, that auto-sizing of the column via PerformAutoResize() or by double clicking the header's right edge will also cut the cell size.

I hope you can help me. I'm using version 11.2.20112.2004 of Infragistics. Thanks in advance.

  • Post Points: 20
Replied On: Tue, May 15 2012 7:01 AM

Hello Jezze,

Could you please provide if possible a small sample project with your scenario for me to take a look at it.


Best regards,

Boris

Developer Support Engineer, MCPD
Infragistics, Inc.

How to get answers =>

  • Post Points: 20
Points 110
Jezze
Replied On: Tue, May 15 2012 7:57 AM

Sure, here is a small example.

  • Post Points: 20
Replied On: Tue, May 15 2012 9:24 AM

Hello Jezze,

I created the following case for you: 'CAS-91653-NHT98V' and will update you through it.


Best regards,

Boris

Developer Support Engineer, MCPD
Infragistics, Inc.

How to get answers =>

  • Post Points: 5
Page 1 of 1 (6 items) | RSS