Skip to Content
avatar image
Former Member

SAP FIORI SAPUI5 Change ValueHelpField Height

Hello Experts,

I've extended a standard fiori application SD_SO_CRE adding some fields and buttons in a screen. My problem is that sap.ui.commons:ValueHelpField does not fit correctly. Is there any way to change sap.ui.commons:ValueHelpField height ??

Extension example Code

<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:sap.ui.commons="sap.ui.commons" xmlns:sap.ui.ux3 = "sap.ui.ux3" xmlns:sap.ui.layout="sap.ui.layout"> <sap.ui.commons:ValueHelpField id="SOC_ITM_CAT" value="{path:'soc_cart>ItemCategory', type:'sap.ui.model.type.String'}" width="6em" valueHelpRequest="handleValueHelp"> </sap.ui.commons:ValueHelpField> <Button id="SOC_CHARAC" icon="sap-icon://edit" tap="changeCharacteristics"></Button> </core:FragmentDefinition>

Result Image



Thank you in advance

capture.png (8.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 04, 2017 at 04:32 PM

    sap.ui.commons is deprecated and also is not compatible with other sap.m controls. I would suggest you to use sap.m.Input with property showValueHelp="true".

    Add comment
    10|10000 characters needed characters exceeded