Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Ribbonbar: change size of CExtRibbonGalleryWnd possible? (under application button) Collapse All
Subject Author Date
Oliver Rau Mar 16, 2010 - 10:51 AM

Dear ProfUIS-Team,

is it possible to change the height of a CExtRibbonGalleryWnd (the one that pops up when clicking the application button) in case that we only have one or two functional controls within it (see image below)?




Best regards,

Martin

Technical Support Mar 17, 2010 - 2:12 PM

The CExtRibbonNodeFile class is derived from CExtRibbonNodeGallery which has the following properties:

   CSize m_sizePopupGalleryControl, m_sizePopupGalleryControlMin, m_sizePopupGalleryControlMax;
The CExtRibbonNodeFile class initializes the gallery control’s size in its constructor:
   m_sizePopupGalleryControl = m_sizePopupGalleryControlMin =
                        m_sizePopupGalleryControlMax = CSize( 350, 330 );
You should change these properties to a smaller or larger size value. The size of ribbon file menu depends on the size of its child gallery control.