sapui5 - Two m.Slider controls, same properties, yet one doesn't show the marks -


enabletickmarksis true both slider controls, yet 1 shows them?

enter image description here

<core:fragmentdefinition xmlns="sap.m" xmlns:core="sap.ui.core">     <dialog title="{title}" icon="sap-icon://create">         <beginbutton>             <button text="{i18n>cancel}" press="handleclosecompetencyselection"/>         </beginbutton>         <endbutton>             <button type="accept" text="{i18n>submit}" press="handlesubmitcompetencyselection"/>         </endbutton>         <content>             <flexbox direction="column" alignitems="center" class="sapuimediummargintopbottom">                 <items>                     <hbox><label text="{i18n>required}: "/><label id="requiredproficiencylabel" text="{profidrdescr}" design="bold"/></hbox>                     <slider id="requiredproficiencyslider" enabled="false" livechange="onsliderchange" enabletickmarks="true" min="0" max="10"                         class="sapuismallmarginbottom" width="400px"/>                 </items>             </flexbox>             <flexbox direction="column" alignitems="center" class="sapuimediummargintopbottom">                 <items>                     <hbox><label text="{i18n>achieved}: "/><label id="proficiencylabel" text="" design="bold"/></hbox>                     <slider id="proficiencyslider" livechange="onsliderchange" enabletickmarks="true" min="0" max="10" class="sapuismallmarginbottom"                         width="400px"/>                 </items>             </flexbox>             <messagestrip text="{i18n>dragmessage}" type="information" showicon="true" class="sapuimediummargin"></messagestrip>         </content>     </dialog> </core:fragmentdefinition> 

funny story:

  1. for "disabled" slider tickmark looks bolder , perceptible "enabled" one

  2. the second slider shows tickmarks, not able see them due light grayscale color of marks (to make sure true, try @ sceen different angle , see tickmarks of second slider; or use display)


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -