<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/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>Remove space between Label and field</title><link>https://community.appian.com/discussions/f/user-interface/21584/remove-space-between-label-and-field</link><description>Hello All, 
 I want to remove the space between the Label and field values (Screenshot below). Is there any way I can achieve that? 
 Please let me know if anyone knows how to do that. 
 Thanks in advance.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Remove space between Label and field</title><link>https://community.appian.com/thread/84408?ContentTypeID=1</link><pubDate>Mon, 09 Aug 2021 09:48:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:76756bb1-023e-4c69-ae51-8f9ab7e43183</guid><dc:creator>Aparajita Singh</dc:creator><description>&lt;p&gt;If the label positions are unable to provide the correct alignment you can try using side by side layout, with one one item as rich text field containing the label and other item as the field without any label. Keep label position as &amp;quot;Collapsed&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remove space between Label and field</title><link>https://community.appian.com/thread/84402?ContentTypeID=1</link><pubDate>Mon, 09 Aug 2021 03:40:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0afeaa48-df61-4380-9a62-fccb22433c4c</guid><dc:creator>Acacio Barrado</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;In relation of align of objects in the UI there is no right answer for it, and you achieve the look an feel that you are looking for in many different ways, you can play with the numbers of columns, width, use side by side, all this sort of things. If you are looking for a two columns more dense you can try side by side, it is not my favorite but you can get some ideas from the code below:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!homeIn,
  local!mthsHomeIn,
  local!mogIn,
  local!mthsMorg,
  {
  a!columnsLayout(
    alignVertical: &amp;quot;MIDDLE&amp;quot;,
    columns: {
      a!columnLayout(
        contents: {
   
          a!sideBySideLayout(
            alignVertical: &amp;quot;MIDDLE&amp;quot;,
            items: {
              
              a!sideBySideItem(
                item: a!richTextDisplayField(
                  align: &amp;quot;RIGHT&amp;quot;,
                  labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                  value: {
                    a!richTextItem(
                      style: &amp;quot;STRONG&amp;quot;,
                      text: &amp;quot;1. Homeowner&amp;#39;s Insurance Premium&amp;quot;
                    )
                  }
                )
              ),
              a!sideBySideItem(
                item: a!integerField(
                  labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                  align: &amp;quot;RIGHT&amp;quot;,
                  saveInto: local!homeIn,
                  value: local!homeIn,
                  refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
                  validations: {}
                )
              )
            }
          ),
          a!sideBySideLayout(
            alignVertical: &amp;quot;MIDDLE&amp;quot;,
            items: {

              a!sideBySideItem(
                item: a!richTextDisplayField(
                  align: &amp;quot;RIGHT&amp;quot;,
                  labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                  value: {
                    a!richTextItem(
                      style: &amp;quot;STRONG&amp;quot;,
                      text: &amp;quot;2. Mortgage Insurance Premium&amp;quot;
                    )
                  }
                )
              ),
              a!sideBySideItem(
                item: a!integerField(
                  labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                  align: &amp;quot;RIGHT&amp;quot;,
                  saveInto: local!mogIn,
                  value: local!mogIn,
                  refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
                  validations: {}
                )
              )
            }
          )
        }
      ),
      a!columnLayout(
        contents: {
          a!sideBySideLayout(
            alignVertical: &amp;quot;MIDDLE&amp;quot;,
            items: {
              a!sideBySideItem(
                /*width: &amp;quot;1X&amp;quot;,*/
                item: a!richTextDisplayField(
                  align: &amp;quot;RIGHT&amp;quot;,
                  labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                  value: {
                    a!richTextItem(
                      style: &amp;quot;STRONG&amp;quot;,
                      text: &amp;quot;mnts&amp;quot;
                    )
                  }
                )
              ),
              a!sideBySideItem(
                width: &amp;quot;3X&amp;quot;,
                item: a!integerField(
                  labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                  align: &amp;quot;RIGHT&amp;quot;,
                  value: local!mthsHomeIn,
                  saveInto: local!mthsHomeIn,
                  refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
                  validations: {}
                )
              ),
              a!sideBySideItem(
                width: &amp;quot;2X&amp;quot;,
              )
            }
          ),
          a!sideBySideLayout(
            alignVertical: &amp;quot;MIDDLE&amp;quot;,
            items: {
              a!sideBySideItem(
                item: a!richTextDisplayField(
                  align: &amp;quot;RIGHT&amp;quot;,
                  labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                  value: {
                    a!richTextItem(
                      style: &amp;quot;STRONG&amp;quot;,
                      text: &amp;quot;mnts&amp;quot;
                    )
                  }
                )
              ),
              a!sideBySideItem(
                width: &amp;quot;3X&amp;quot;,
                item: a!integerField(
                  labelPosition: &amp;quot;COLLAPSED&amp;quot;,
                  align: &amp;quot;RIGHT&amp;quot;,
                  value: local!mthsMorg,
                  saveInto: local!mthsMorg,
                  refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
                  validations: {}
                )
              ),
              a!sideBySideItem(
                width: &amp;quot;2X&amp;quot;,
              )
            }
          ),

        }
      ),
      a!columnLayout(
        width: &amp;quot;EXTRA_NARROW&amp;quot;
      )
    }
  )
  }
)&lt;/pre&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Once again, there is many different to align your UI and is all about following the definitions of your project and try around different approaches.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remove space between Label and field</title><link>https://community.appian.com/thread/84401?ContentTypeID=1</link><pubDate>Mon, 09 Aug 2021 00:22:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c300531a-307f-44fb-9e56-3cf39d8140d3</guid><dc:creator>sharathp0002</dc:creator><description>&lt;p&gt;Hi, I have tried &amp;quot;ADJACENT&amp;quot;. But this is giving space before the field label.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As per the requirement, we do not need space either before or after the label.&lt;/p&gt;
&lt;p&gt;Sorry for not giving enough information in my previous response.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1628468546031v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remove space between Label and field</title><link>https://community.appian.com/thread/84400?ContentTypeID=1</link><pubDate>Mon, 09 Aug 2021 00:05:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e3d6f34e-0f47-4fc1-9f6b-69c1dc6a0e48</guid><dc:creator>Acacio Barrado</dc:creator><description>&lt;p&gt;Could you please try ADJACENT:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;        a!integerField(
          label: &amp;quot;mnts&amp;quot;,
          labelPosition: &amp;quot;ADJACENT&amp;quot;,
          align: &amp;quot;LEFT&amp;quot;,
          saveInto: {},
          refreshAfter: &amp;quot;UNFOCUS&amp;quot;,
          validations: {}
        ),&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remove space between Label and field</title><link>https://community.appian.com/thread/84399?ContentTypeID=1</link><pubDate>Mon, 09 Aug 2021 00:00:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d2db4f30-6e1e-49f6-bbe6-5998bd98c702</guid><dc:creator>sharathp0002</dc:creator><description>&lt;p&gt;Hi Acacio, Thanks for the response. Please see the code below.&lt;/p&gt;
&lt;p&gt;I am using a column layout. I would like to remove the space between the Field &lt;strong&gt;label&lt;/strong&gt; and &lt;strong&gt;value.&amp;nbsp;&lt;/strong&gt;Please let me know if you need more information.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;a!columnLayout(&lt;br /&gt; contents: {&lt;br /&gt;a!integerField(&lt;br /&gt; label: &amp;quot;mnts&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;JUSTIFIED&amp;quot;,&lt;br /&gt; saveInto: {},&lt;br /&gt; refreshAfter: &amp;quot;UNFOCUS&amp;quot;,&lt;br /&gt; validations: {}&lt;br /&gt;)&lt;/p&gt;
&lt;p&gt;}&lt;br /&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remove space between Label and field</title><link>https://community.appian.com/thread/84398?ContentTypeID=1</link><pubDate>Sun, 08 Aug 2021 23:43:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5cfd4736-16e5-4d34-96e6-ec60e12d78ae</guid><dc:creator>Acacio Barrado</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;The solution to remove the space highlighted depends of how the Sail was implemented is it possible for you to share that piece of the code?&lt;/p&gt;
&lt;p&gt;Just looking to the screenshot I don&amp;#39;t see how you could insert that gap using a normal text field, perhaps you have an side by side layout, but whatever I say would be only a guess without the code.&lt;/p&gt;
&lt;p&gt;If you share more context, I can try to provide a better advise &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Acacio B.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>