<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How do you vertically align a picture with a picture button control?</title><link>https://www.infopathdev.com:443/forums/thread/68794.aspx</link><pubDate>Thu, 28 Jul 2011 00:27:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68794</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68794.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=68794</wfw:commentRss><description>&lt;p&gt;I know this sounds strange, but on the picture button control, set the bottom 
margin to -5 px. &lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know how this will react (if at all) on a browser, but in the rich 
client it should resolve your issue.&lt;/p&gt;</description></item><item><title>Re: How do you vertically align a picture with a picture button control?</title><link>https://www.infopathdev.com:443/forums/thread/68705.aspx</link><pubDate>Mon, 25 Jul 2011 19:42:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68705</guid><dc:creator>mikeyfev1</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68705.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=68705</wfw:commentRss><description>&lt;p&gt;OK, I did that.&amp;nbsp; All cells exactly 22 X 77 px.&amp;nbsp; All padding set to zero (cells and controls)&lt;/p&gt;
&lt;p&gt;Now the picture control appears 1 px &lt;strong&gt;lower&lt;/strong&gt; than the other picture button controls.&lt;/p&gt;</description></item><item><title>Re: How do you vertically align a picture with a picture button control?</title><link>https://www.infopathdev.com:443/forums/thread/68663.aspx</link><pubDate>Sun, 24 Jul 2011 20:40:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68663</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68663.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=68663</wfw:commentRss><description>&lt;p&gt;Sorry for short response, but what about if you add them to a layout table and set all padding to 0?&lt;/p&gt;</description></item><item><title>How do you vertically align a picture with a picture button control?</title><link>https://www.infopathdev.com:443/forums/thread/68615.aspx</link><pubDate>Thu, 21 Jul 2011 16:49:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68615</guid><dc:creator>mikeyfev1</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68615.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=68615</wfw:commentRss><description>&lt;p&gt;I am having trouble aligning an identically sized picture control and picture button control at the same vertical level.&amp;nbsp; Here&amp;#39;s what i did:&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;I created a new form by selecting &lt;strong&gt;File&lt;/strong&gt; &amp;gt; &lt;strong&gt;New&lt;/strong&gt; &amp;gt; &lt;strong&gt;Blank Form&lt;/strong&gt; &amp;gt; &lt;strong&gt;Design Form&lt;/strong&gt;.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;I clicked on the text &lt;em&gt;Add tables&lt;/em&gt; and inserted a picture (Included in the form).&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;I then changed the picture properties to specify a default picture from a local JPG file and&amp;nbsp;set the control to Read-Only.&amp;nbsp; I did not change the size of the image which is height=22px and width=77px.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;I inserted a new picture button control, browsed to the same picture file.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;I set the size&amp;nbsp;of the picture button control to height=22px and width=77px which is the exact size of the picture canvas.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;The result is that the picture is 5 px higher than the picture button control.&amp;nbsp; I know this by setting a 5px bottom margin on the picture button control which aligns them correctly.&amp;nbsp; Since these control are not in a table, there are no padding or alignment control available.&lt;/p&gt;
&lt;p&gt;How do I get the picture to appear in line with the picture control button?&amp;nbsp; I need for there to be no gap between these objects and the next lower object.&amp;nbsp; TIA.&lt;/p&gt;</description></item></channel></rss>