<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: SAPUI5 - SimpleForm not aligning labels in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sapui5-simpleform-not-aligning-labels/qaa-p/12286368#M4603869</link>
    <description>&lt;P&gt;Try to user Form property "editable".&lt;BR /&gt;Set it to true, it should solve the problem.&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form:SimpleForm
    layout="ResponsiveGridLayout"
    editable="true"
    labelSpanS="6"
    labelSpanL="6"
    labelSpanM="6"
    labelSpanXL="6"&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 18 Oct 2021 09:25:04 GMT</pubDate>
    <dc:creator>m_aguilera_zorzo</dc:creator>
    <dc:date>2021-10-18T09:25:04Z</dc:date>
    <item>
      <title>SAPUI5 - SimpleForm not aligning labels</title>
      <link>https://community.sap.com/t5/technology-q-a/sapui5-simpleform-not-aligning-labels/qaq-p/12286364</link>
      <description>&lt;P&gt;I'm trying to display some information through a SimpleForm but I can't align labels to the respective elements.&lt;/P&gt;
  &lt;P&gt;This is what I'm trying to do:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1846786-example.png" /&gt;&lt;/P&gt;
  &lt;P&gt;This is what I get:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1846787-screenshot-2020-10-04-dconcessionario.png" /&gt;&lt;/P&gt;
  &lt;P&gt;This is the XML code of the form:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;form:SimpleForm
    layout="ResponsiveGridLayout"
    labelSpanS="6"
    labelSpanL="6"
    labelSpanM="6"
    labelSpanXL="6"&amp;gt;
    &amp;lt;form:content&amp;gt;
        &amp;lt;Label
            text="Mostra per"/&amp;gt;
        &amp;lt;Select&amp;gt;
            &amp;lt;core:Item text="Colore" /&amp;gt;
            &amp;lt;core:Item text="Codice" /&amp;gt;
        &amp;lt;/Select&amp;gt;
        &amp;lt;Label
            text="Scegli un colore"/&amp;gt;
        &amp;lt;f:GridList&amp;gt;
            &amp;lt;f:customLayout&amp;gt;
                &amp;lt;grid:GridBoxLayout boxWidth="20px"/&amp;gt;
            &amp;lt;/f:customLayout&amp;gt;
            &amp;lt;CustomListItem&amp;gt;
                &amp;lt;VBox width="20px" height="20px" class=".whiteColor"/&amp;gt;
            &amp;lt;/CustomListItem&amp;gt;
            &amp;lt;CustomListItem&amp;gt;
                &amp;lt;VBox width="20px" height="20px" class=".redColor"/&amp;gt;
            &amp;lt;/CustomListItem&amp;gt;
            &amp;lt;CustomListItem&amp;gt;
                &amp;lt;VBox width="20px" height="20px" class=".blueColor"/&amp;gt;
            &amp;lt;/CustomListItem&amp;gt;
        &amp;lt;/f:GridList&amp;gt;
        &amp;lt;Label text="Disponibilità"/&amp;gt;
        &amp;lt;ObjectNumber number="2"/&amp;gt;
        &amp;lt;Label
            text="Usata"/&amp;gt;
        &amp;lt;CheckBox/&amp;gt;
        &amp;lt;Label
            text="Prezzo Listino minimo"/&amp;gt;
        &amp;lt;ObjectNumber number="10000" unit="€" /&amp;gt;
    &amp;lt;/form:content&amp;gt;
&amp;lt;/form:SimpleForm&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;I'm definitely doing something wrong.&lt;/P&gt;
  &lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 09:34:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sapui5-simpleform-not-aligning-labels/qaq-p/12286364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-10-04T09:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAPUI5 - SimpleForm not aligning labels</title>
      <link>https://community.sap.com/t5/technology-q-a/sapui5-simpleform-not-aligning-labels/qaa-p/12286365#M4603866</link>
      <description>&lt;P&gt;I can see that you have given labelSpanS/M/L as 6, it means that it occupies half of the space(out of a total 12).&lt;/P&gt;&lt;P&gt;Now try giving emptySpanS/M/L as 0, so there will be no empty space and try again manipulating the labelSpanS/M/L to get the desired output.&lt;/P&gt;&lt;P&gt;If the screenwidth itself is less then automatically text will flow down, and we cannot do anthing for that.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 05:32:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sapui5-simpleform-not-aligning-labels/qaa-p/12286365#M4603866</guid>
      <dc:creator>maheshpalavalli</dc:creator>
      <dc:date>2020-10-05T05:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAPUI5 - SimpleForm not aligning labels</title>
      <link>https://community.sap.com/t5/technology-q-a/sapui5-simpleform-not-aligning-labels/qaa-p/12286366#M4603867</link>
      <description>&lt;P&gt;I tried setting emptySpans to 0 and it's better but I still have problem with labels not aligning.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1846799-screenshot-2020-10-05-dconcessionario.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 08:16:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sapui5-simpleform-not-aligning-labels/qaa-p/12286366#M4603867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-10-05T08:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAPUI5 - SimpleForm not aligning labels</title>
      <link>https://community.sap.com/t5/technology-q-a/sapui5-simpleform-not-aligning-labels/qaa-p/12286367#M4603868</link>
      <description>&lt;P&gt;assuming, you are speaking about the vertical allignment of Usata and Checkbox, please have a look if it aligns correctly with SAP Standard Themes. If it does, you have a problem in your custom theme.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 09:40:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sapui5-simpleform-not-aligning-labels/qaa-p/12286367#M4603868</guid>
      <dc:creator>sergei-u-niq</dc:creator>
      <dc:date>2020-10-05T09:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAPUI5 - SimpleForm not aligning labels</title>
      <link>https://community.sap.com/t5/technology-q-a/sapui5-simpleform-not-aligning-labels/qaa-p/12286368#M4603869</link>
      <description>&lt;P&gt;Try to user Form property "editable".&lt;BR /&gt;Set it to true, it should solve the problem.&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form:SimpleForm
    layout="ResponsiveGridLayout"
    editable="true"
    labelSpanS="6"
    labelSpanL="6"
    labelSpanM="6"
    labelSpanXL="6"&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Oct 2021 09:25:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sapui5-simpleform-not-aligning-labels/qaa-p/12286368#M4603869</guid>
      <dc:creator>m_aguilera_zorzo</dc:creator>
      <dc:date>2021-10-18T09:25:04Z</dc:date>
    </item>
  </channel>
</rss>

