Ribbon Content Size

Ribbon for WPF Forum

Posted 13 years ago by Mick
Version: 11.1.0542
I'm trying to match the Office2010 look and feel out of the box, but when I create a ribbon text seems somewhat smaller. For example:
  • Tab labels
  • Group labels
  • Button labels
with content, the size of items / text seems to be slightly smaller than the ribbon found in Office.

For reference, here is a sample:

    <Grid themes:ThemeManager.Theme="Office2010Silver">
            <ribbon:Tab Label="Home" />
            <ribbon:Tab Label="Create">
                <ribbon:Group Label="Templates">
                    <ribbon:PopupButton Label="Application Parts" />
                <ribbon:Group Label="Templates">
                    <ribbon:Button Label="Table" />
                    <ribbon:Button Label="Table Design" />
                    <ribbon:PopupButton Label="SharePoint Lists" />
            <ribbon:Tab Label="External Data" />
Side by side with an Office 2010 product (Access), it looks like this (I didn't bother putting icons in, but you can still see the difference in text).

Is there a setting or property I can change to make my ribbon match Office's text size out of the box?

Thank you,

Comments (3)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Mick,

When I run our Sample Browser demos and bring them up next to your screenshot, they look like the bottom Office screenshot and match its font and size. Can you describe your operating system, .NET version, and theme settings? We're not seeing anything like that top screenshot, even in XP.

Perhaps you have some other font size settings in your App resources that are affecting things? Or do you have smaller font sizes set in your system font settings?

Actipro Software Support

Posted 13 years ago by Mick

Currently, I use:
Windows Vista 32 bit, version 6.0.6002 SP2
.NET 4.0
Theme: Windows Vista

I was able to get the sample app that I posted above to match Office2010 exactly by turning up my DPI settings to 120.

Switching between 96 / 120 DPI on my machine scales up the ribbon on both Actipro and Office, but only on the 120 DPI setting do the two ribbons seem to match on my machine.

Is there a tool I can run to get you all of the information you need in terms of theme / OS?

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Mick,

We have code that kicks in for Vista and Windows 7 that slightly reduces the default font size but on our Win 7 machines the result is the correct Office font size.

Question, do you have the "Segoe UI" font on your machine?

Actipro Software Support

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.