Print Page | Close Window

<ScrollViewer> problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=10442
Printed Date: 03 May 2024 at 7:33am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: <ScrollViewer> problem
Posted By: znakeeye
Subject: <ScrollViewer> problem
Date Posted: 01 May 2008 at 9:52pm
I put my grid inside a <ScrollViewer>-tag, and then show it inside a CXTPPopupControl with a fixed height:
sz.cy = min(74, sz.cy);
SetPopupSize(CSize(sz.cx + 30, sz.cy + 20));
 
Now the scroll is cut off at the bottom, and I really don't understand its purpose. What's up?! What am I doing wrong?



Replies:
Posted By: znakeeye
Date Posted: 01 May 2008 at 10:07pm
The bug is located in XTPPopupItem.cpp(268):
 
// Third parameter becomes INT_MAX!
CSize sz = XTPMarkupMeasureElement(m_pUIElement, m_rcItem.Width());



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