openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

sap.tnt.SideNavigation no property for width

Open JoseMunozHerrera opened this issue 5 years ago • 3 comments

Hello,

Could you provide a property width for sap.tnt.SideNavigation control?

Right now is fixed to 15rem (expanded) 3rem ( not expanded ) via code for animation:

https://github.com/SAP/openui5/blob/f47ef99cdf8ea96218b697ab180fe0714caf758d/src/sap.tnt/src/sap/tnt/SideNavigation.js#L169

And also fixed via CSS:

https://github.com/SAP/openui5/blob/7672ca39cd0fdaf9e822172dd52e5d861aa0bd12/src/sap.tnt/src/sap/tnt/themes/base/SideNavigation.less#L23

It would be great to have a property, it's not strange to have texts with width greater than 15 rem

Thanks a lot

JoseMunozHerrera avatar May 02 '19 09:05 JoseMunozHerrera

Hi @JoseMunozHerrera ,

Thank you for share your enhancement proposal. I have contacted the PO of responsible for the control team, and they will write you here if this will be done.

Kind Regards, Gery

gerym avatar May 03 '19 07:05 gerym

Hi @gerym I have the same issue. It's almost two years with no changes, updates.

fabas1 avatar Apr 29 '21 08:04 fabas1

Hi, Currently and by-design specification the width is hard-coded to 15 rem we will discuss this requirement with Kalin Milanov (BTP UX/VD lead) about this feature request

olannyv avatar Mar 21 '22 13:03 olannyv

This item will be covered in backlog item FIORITECHP1-26797.

flovogt avatar Jun 16 '23 14:06 flovogt

The "width" property of sap.tnt.SideNavigation will be available with version 1.120.

TeodorTaushanov avatar Oct 23 '23 08:10 TeodorTaushanov

Implemented with https://github.com/SAP/openui5/commit/809177bdc3eb28d90645b8b836335e4c7694701d

flovogt avatar Oct 23 '23 08:10 flovogt