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.

The title of ToolStripEx stays in the same size, no matter what...

Thread ID:

Created:

Updated:

Platform:

Replies:

89823 Sep 8,2009 05:26 AM Sep 10,2009 08:16 AM Windows Forms 5
loading
Tags: Tools
Allon
Asked On September 8, 2009 05:26 AM

Hello, everyone

I added ToolStripEx to my form, and when I change the size of the font (from 8.25 to 14.25), the size of the title changes only in the designer. When I run it, the change is not occurred, and it stays 8.25.

Please let me know, if there is something I can do to fix this problem.

Regards,
Allon

Nandakumar R [Syncfusion]
Replied On September 8, 2009 08:13 AM

Hi,

Thanks for your interest in Syncfusion Essential Studio.

Can you please let me know the Essential Studio version that you are using? I tried this in a latest version installed machine and I was able to set the Font appearance. Please refer to the below image on the same.

http://www.syncfusion.com/uploads/redirect.aspx?file=screenshot_2c41fe8e.png&team=support

Please let me know if you have tried setting the CaptionFont property and you are able to see this issue.

[C#]
//
// toolStripEx1
//
this.toolStripEx1.CaptionFont = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.toolStripEx1.ForeColor = System.Drawing.Color.MidnightBlue;


When you set the Font property for the ToolStripEx, the font will be applied to the items that will be added to the ToolStripEx.

Regards,
Nanda

Allon
Replied On September 9, 2009 04:36 AM

Nanda, Thanks for your quick reply.

I use Syncfusion 7.3.0.20 for VS 2005.
I hope it will assist you to help me with this problem.

Regards,
Allon

Allon
Replied On September 9, 2009 04:43 AM

Nanda, your lines work perfect. Last thing I'd like to know about the title of ToolStripEx is how can I center the title's text.

Thanks in advance,
Allon

Allon
Replied On September 9, 2009 05:17 AM

Nanda, I found it out by myself. It's CaptionAlignment=Center.

Thanks again,
Allon

Nandakumar R [Syncfusion]
Replied On September 10, 2009 08:16 AM

Thanks Allon.

Regards,
Nanda

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.

;