Mar 21, 2009 at 12:57 PM
I'm trying to get the control to occupy a non-square space and have had no luck.  If I set the H/V alignment to stretch the app crashes.  Is this a bug?
Mar 21, 2009 at 6:38 PM
Do you mean non-square or non-rectangular?  The sample app has the control in approximately 800x600, which is non-square.

I haven't specifically tested stretch alignment.  Can you post a minimal code sample that reproduces the crash/error you experience?

Mar 22, 2009 at 10:29 PM
I just tested it again and I don't get a crash with the scenario I described, but the control doesn't fill up it's parent grid like I expect.  Here's the source:

<Window x:Class="VESizeTest.Window1"
    Title="Window1" Height="300" Width="400">
        <ve:VEMap HorizontalAlignment="Stretch" Width="400"/>

You can see the white background of the window on the sides of the map when you'd expect the map to fill the entire window.  I also noticed that if I set the height to 300 then the map does fill the entire window.  Not sure why that is.

Mar 22, 2009 at 11:11 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Mar 22, 2009 at 11:12 PM
Will investigate.  Might need to mess with MeasureOverride or ArrangeOverride for this.
Jun 12, 2009 at 4:13 PM

Any update on this?  The tip that was suggested in the work item didn't work for me.

Jun 14, 2009 at 8:33 PM

No updates on this.