Frustrated trying to position controls in a xaml window.
- From: "moondaddy" <moondaddy@xxxxxxxxxxxxxxxx>
- Date: Wed, 23 Jan 2008 02:25:37 -0600
I'm trying to position controls in a window and am having a very difficult
time. I want all the controls to be anchored top/left so when I do the
final resizing of the window, all the controls sit in the same position.
However, as I place controls toward the right side of the form, the left
alignment changes to right, and the margin changes from ##,##,0,0 ##,##,##,0
to 0,##,##,0. so to position the control just as I want, I have to
painfully edit he margin values. In some cases, when the control is on the
right side of the form and the control has the value of ##,##,0,0, the left
margin is not what I would expect and the control repositions its self in a
place that doesn't make sense. Also the widths keep changing on me. This
is a royal pain.
What am I doing wrong?
Thanks.
--
moondaddy@xxxxxxxxxxxxxxxx
.
- Follow-Ups:
- RE: Frustrated trying to position controls in a xaml window.
- From: "Walter Wang [MSFT]"
- RE: Frustrated trying to position controls in a xaml window.
- Prev by Date: Re: Native event handle
- Next by Date: how to write a window load event in c# for a xaml window
- Previous by thread: Interprocess Communication: I need a mix of Remoting and Webservice
- Next by thread: RE: Frustrated trying to position controls in a xaml window.
- Index(es):
Relevant Pages
|