C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

RibbonGallery Item Text Clipped

rated by 0 users
This post has 6 Replies | 1 Follower

Not Ranked
Posts 3
StephenTurner Posted: Mon, May 11 2009 9:14 AM

When using a RibbonGallery object within a group on a Ribbon the items that I add at run time have their text clipped.  Expanding the gallery using the drop down button causes the items to display correctly.  When the gallery looses focus and the drop down closes the item text is clipped once again.

I have the gallery set to display 1 item and all font padding options are at their default.

Does anyone have any suggestions as at the moment this is ruining a good solution.

I am using version 2.0.20091.147

Thanks

 Steve 

Top 10 Contributor
Posts 1,644
C1_AndreyD replied on Mon, May 11 2009 11:14 AM
Hi Steve,

Please try it with the latest build:

http://download3.componentone.com/pub/Net/c1ribbon/misc/C1Ribbon.2_2.0.20091.160.zip

Let me know if the issue still occurs.

Regards,

-Andrey
Not Ranked
Posts 3

Hi Andrey,

 Tried the latest build and the item is now centred in the gallery area but the clipping of the text still occurs.  It is just a very small amount of the last character that is lost and only for certain strings.

For example the string "Stephen" displays perfectly, whereas the string "Unidrive" has the end of the last 'e' clipped.

 Regards

 Steve

Top 10 Contributor
Posts 1,644
Hi Steve,

Hopefully, the problem will be addressed in the next build.
I can reproduce it on my machine.

Thanks.

-Andrey
Top 10 Contributor
Posts 1,644
Hi Steve,

Please try the new build:

http://download3.componentone.com/pub/Net/c1ribbon/misc/C1Ribbon.2_2.0.20091.161.zip

> It is just a very small amount of the last character that is lost and only for certain strings.

You should probably set the FontPadding property to 'Yes' for each the gallery item.

Regards,

-Andrey
Not Ranked
Posts 3

Hi Andrey,

I tried the .161 version with Font Padding turned on and it is much better although clipping still occurred on the last character of longer strings.  This wasn't due to the size of the area being used by the gallery item as adding a space character to the end of the string allowed the full string to be displayed (i.e. it was now the space character being clipped and hence was not noticable).

Also on a slightly different note, is it possible to add label and separator items to a gallery to subdivide it for the purposes of grouping items?

Regards

Steve

Top 10 Contributor
Posts 1,644
C1_AndreyD replied on Thu, May 14 2009 10:58 AM
Hi Steve,

> I tried the .161 version with Font Padding turned on and it is much better
> although clipping still occurred on the last character of longer strings.

I can't reproduce this.

> Also on a slightly different note, is it possible to add label and separator
> items to a gallery to subdivide it for the purposes of grouping items?

Separators and labels are still not supported in the RibbonGallery, sorry.

Regards,

-Andrey
Page 1 of 1 (7 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2010 ComponentOne LLC All Rights Reserved.