Print Page | Close Window

Scaling the Option & Exit Buttons

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=13424
Printed Date: 27 February 2025 at 6:27pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Scaling the Option & Exit Buttons
Posted By: mrmathis
Subject: Scaling the Option & Exit Buttons
Date 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



Replies:
Posted By: mrmathis
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net