I have a report that is being generated programatically and saving the results to a PDF file which then gets sent to the client. I have a panel that the location is set to X: 0px Y: 73px. However, when it renders on the screen the left is offset by what looks to be the width of the panel directly above it. Here is the XML (Serialized from the programmatic report definition) for the panel that is being offset (Email Address 2) and the panel directly above it (Email Address). I have also attached a screenshot of how it is being rendered. Can anyone see anything in the definition that might be causing this?
<Panel Size="0px, 19px" Location="0px, 54px" Name="pnlE75877F0-849B-4730-90EA-6ED68B904D87">
<Style BackgroundColor="Green" />
<Items>
<TextBox Value="Email Address:" Size="97px, 16px" Location="0px, 0px" />
<TextBox Value="=[Person.EmailAddress]" Size="0px, 16px" Location="97px, 0px">
<Style>
<Font Bold="True" />
</Style>
</TextBox>
</Items>
</Panel>
<Panel Size="0px, 19px" Location="0px, 73px" Name="pnlA675AD23-718F-4220-B957-C6F250780ECA">
<Style BackgroundColor="Green" />
<Items>
<TextBox Value="Email Address 2:" Size="109px, 16px" Location="0px, 0px" />
<TextBox Value="=[Person.EmailAddress2]" Size="0px, 16px" Location="109px, 0px">
<Style>
<Font Bold="True" />
</Style>
</TextBox>
</Items>
</Panel>
Thanks!
<Panel Size="0px, 19px" Location="0px, 54px" Name="pnlE75877F0-849B-4730-90EA-6ED68B904D87">
<Style BackgroundColor="Green" />
<Items>
<TextBox Value="Email Address:" Size="97px, 16px" Location="0px, 0px" />
<TextBox Value="=[Person.EmailAddress]" Size="0px, 16px" Location="97px, 0px">
<Style>
<Font Bold="True" />
</Style>
</TextBox>
</Items>
</Panel>
<Panel Size="0px, 19px" Location="0px, 73px" Name="pnlA675AD23-718F-4220-B957-C6F250780ECA">
<Style BackgroundColor="Green" />
<Items>
<TextBox Value="Email Address 2:" Size="109px, 16px" Location="0px, 0px" />
<TextBox Value="=[Person.EmailAddress2]" Size="0px, 16px" Location="109px, 0px">
<Style>
<Font Bold="True" />
</Style>
</TextBox>
</Items>
</Panel>
Thanks!