Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Scaling the Option & Exit Buttons
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Scaling the Option & Exit Buttons

 Post Reply Post Reply
Author
Message
mrmathis View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 May 2007
Location: United States
Status: Offline
Points: 105
Post Options Post Options   Thanks (0) Thanks(0)   Quote mrmathis Quote  Post ReplyReply Direct Link To This Post Topic: Scaling the Option & Exit Buttons
    Posted: 16 February 2009 at 8:16pm
In the ribbon sample, when the font size is set to extra large, the "Options" and "Exit Sample" buttons (displayed when the application button is clicked) do not get any bigger.  If the font gets too big, those buttons can start to look pretty bad, with the text clipping at the button boundary.  How can I convince those buttons to either honor the font change or allow me to enlarge them?  I've tried SetHeight, SetIconSize, SetRect, etc., but can't make them change size.  Is it possible?
--Mike
Back to Top
mrmathis View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 May 2007
Location: United States
Status: Offline
Points: 105
Post Options Post Options   Thanks (0) Thanks(0)   Quote mrmathis Quote  Post ReplyReply Direct Link To This Post Posted: 21 May 2009 at 3:23pm
I still haven't found a resolution to this yet.  The main issue is the height of the buttons, and how the bottom of my characters are getting chopped off.  I can live with the width being a little tighter than I would prefer, and even the icon not scaling to match the rest of those on the menu.  Here's what I see in the ribbon sample and my own app when I set the font size to 20.
 
   
 
 
 
 
That font height may seem overly large here, but I have an increasing number of customers with extremely high resolution monitors, and on those this size is necessary to be able to see & read the menus.
 
What's the trick to making these buttons taller?
 
--Mike
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.