This project has moved and is read-only. For the latest updates, please go here.

XTRAWindowWorkspace Size problem.

Jun 20, 2008 at 9:29 AM
I have a view that i want to show in a XTRAWindowWorkspace. So i write the appropriate code and i also use a XtraWindowSmartPartInfo to setup few properties for the window.
At Height and Width properties of XtraWindowSmartPartInfo i import my view's height and width.

The problem starts when i show this window on user. Somehow it seems that the window does not reed this values correct. And not only that but when i open the window again i have noticed that its size is a little bit smaller than the size before. Anyone else have notice this? And how you solved it?

One more thing with the XtraWindowSmartPartInfo is the luck of FormBorderStyle. How can i set it? Can it be done?

 

Jul 11, 2008 at 7:15 AM
Here's 2 posts that seem to cover your main issue:

SCSF Modal windowworkspace resizing problem

WindowWorkspace and View size
Jul 11, 2008 at 10:48 AM
Edited Jul 11, 2008 at 10:50 AM
Re the lack of FormBorderStyle - this property has recently been added to the XtraWindowSmartPartInfo
You can now do this:

XtraWindowSmartPartInfo smartPartInfo = new XtraWindowSmartPartInfo();
smartPartInfo.FormBorderStyle = FormBorderStyle.FixedDialog;
Sep 3, 2008 at 2:08 PM
For the Size problem show this : http://www.codeplex.com/CABDevExpress/WorkItem/View.aspx?WorkItemId=11166
We have solves the same problem with this bugFix.

Enjoy,