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 Tech Support » RibbonPage edit management Collapse All
Subject Author Date
LAURA GUGLIELMETTI Dec 23, 2011 - 7:29 AM

Dear Support-team,
I added an edit inside a ribbon page, in the same way as in your ribbonBar - Mailing Preview sample
However the text inside the edit is cut, because the field is not high enough.

Can you please tell me how to set proper edit size ?

Moreover, can you please explain me how to set/get the text from such edit from code ?

Thank you in advance for your cooperation
Best regards

Technical Support Mar 14, 2012 - 12:39 PM

You can specify width of field text in the constructor of the CExtRibbonNode class while initializing tree structure of ribbon command nodes.

LAURA GUGLIELMETTI Mar 15, 2012 - 1:12 AM

Problem is not width, but height (it is cut in vertical direction)

Technical Support Mar 16, 2012 - 6:45 AM

Could you show us a screen shot demonstrating how it is cut in vertical direction?

LAURA GUGLIELMETTI Mar 13, 2012 - 10:49 AM

Dear Support,
I didn’t receive any answer regarding the issue of cut text.

I have the problem your sample code RibbonPage, using CExtPaintManagerOffice2007_R3_Obsidian, VC++ 6.0, any window OS version (both XP service path 3 and Windows 7).

I used default windows desktop in XP, and Aero Them - Window 7 in Win7, but I didn’t try other desktop thems.

Library Version is 2.89, but if you tell me that it is solved in a newer version and give me some hints to apply same fix to 2.89, it will be great.
Best regards


Technical Support Dec 24, 2011 - 11:14 AM

The height of text/combo fields in a toolbar, a ribbon bar/page, a menu bar and popup menus is always computed automatically using font metrics and current theme borders and padding. Please provide us with more details about where you encountered partially visible text? We need to know the Prof-UIS theme name, Visual C++ version, Windows OS version and desktop theme settings.

The text fields are controlled by overriding the CExtCustomizeSite::OnTextField***() virtual methods.

LAURA GUGLIELMETTI Mar 13, 2012 - 10:50 AM

Dear Support,
I didn’t receive any answer regarding the issue of cut text.

I have the problem your sample code RibbonPage, using CExtPaintManagerOffice2007_R3_Obsidian, VC++ 6.0, any window OS version (both XP service path 3 and Windows 7).

I used default windows desktop in XP, and Aero Them - Window 7 in Win7, but I didn’t try other desktop thems.

Library Version is 2.89, but if you tell me that it is solved in a newer version and give me some hints to apply same fix to 2.89, it will be great.
Best regards