We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Using PopupMenu with Custom Font

Thread ID:

Created:

Updated:

Platform:

Replies:

62360 Jun 13,2007 11:50 AM Jun 15,2007 02:12 PM Windows Forms 5
loading
Tags: Tools
Tony Lau
Asked On June 13, 2007 11:50 AM

Hi,

I have a popup menu with BarItems in it that uses the CustomTextFont property. When I use a bold font, the text in the popup menu gets cut off. How do I fix this?

Thanks,
Tony

JayaLakshmi [Syncfusion]
Replied On June 14, 2007 12:15 AM

Hi Tony,

Thank you for using Syncfusion products.

I am afraid that I could not able to reproduce the issue you specified.

Please reproduce the same in the below sample.

http://websamples.syncfusion.com/samples/Tools.Windows/F62360/main.htm

Could you please tell me the Essential Studio version you are using now?

Thanks,
Jaya

Tony Lau
Replied On June 14, 2007 11:29 AM

Hi,

I'm using v4.1.0.50, and I was able to reproduce in the sample code you provided. The key is to use the Arial font, and make the text in the BarItem longer than the other bar items. Here's the relevant code snippet that I changed in the project:

this.barItem2.CustomTextFont = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.barItem2.ID = "barItem1";
this.barItem2.Text = "barItem2 blah blah blah blah";


Thanks,
Tony


>Hi Tony,

Thank you for using Syncfusion products.

I am afraid that I could not able to reproduce the issue you specified.

Please reproduce the same in the below sample.

http://websamples.syncfusion.com/samples/Tools.Windows/F62360/main.htm

Could you please tell me the Essential Studio version you are using now?

Thanks,
Jaya

JayaLakshmi [Syncfusion]
Replied On June 15, 2007 05:05 AM


Hi Tony,

Yes,I could able to see the issue in the version you specified.

Thank you for bringing this issue to our notice.

Could you please create a Direct-Trac incident with the subject "The text in the popup menu gets cut off in the version v4.1.0.50- F62360" so that we could give more details regarding the fix?

Thanks,
Jaya

Tony Lau
Replied On June 15, 2007 09:42 AM

I've created an incident in Direct-Trac

Thanks,
Tony

JayaLakshmi [Syncfusion]
Replied On June 15, 2007 02:12 PM

Hi Tony,

Thank you for creating an incident. Could you please follow the incident #34891 for the updates for this issue.

Thanks,
Jaya


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;