sapui5 - Two m.Slider controls, same properties, yet one doesn't show the marks -
enabletickmarks
is true both slider controls, yet 1 shows them?
<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:
for "disabled" slider tickmark looks bolder , perceptible "enabled" one
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
Post a Comment