Openbravo Issue Tracking System - POS2
View Issue Details
0047683POS2POSpublic2021-09-10 18:042021-11-19 14:25
dbaz 
elara 
normalmajoralways
closedfixed 
5
 
TAP 
No
0047683: Keymap-Buttons-Label height is not well managed
Keymap-Buttons-Label height is not well managed, so if the label is bigger than the available area of the button, the label will enter into other parts of the own button, or even it will overflow it.

Also, when the label does not fit the available area for the label, it should show ellipsis.

In order to show the ellipsis, the '-webkit-line-clamp' needs to be used, but since we don't know the available height, so how many rows of text could be in the label, a JS function will be needed to dynamically set this line-clamp (Note that this function should also be re-executed if the browser size changes)

I have recorded this video explaining the full detail of the problem and providing some tips: https://youtu.be/oevMGI71Bwc [^]
.
No tags attached.
blocks defect 0047675 closed elara Keymap-Buttons-Label height is not well managed 
Issue History
2021-09-13 16:02dmiguelezTypedefect => backport
2021-09-13 16:02dmiguelezTarget Version => TAP
2021-09-13 16:03dmiguelezAssigned ToRetail => elara
2021-09-21 14:00sntgrealeAssigned Toelara => sntgreale
2021-09-29 01:14elaraAssigned Tosntgreale => elara
2021-10-18 03:50hgbotNote Added: 0132369
2021-11-09 14:49guilleaerNote Deleted: 0132369
2021-11-17 16:06hgbotResolutionopen => fixed
2021-11-17 16:06hgbotStatusscheduled => closed
2021-11-17 16:06hgbotNote Added: 0133158
2021-11-17 16:06hgbotNote Added: 0133159
2021-11-17 16:14AugustoMauchNote Deleted: 0133158
2021-11-17 16:14AugustoMauchNote Deleted: 0133159
2021-11-19 14:11AugustoMauchStatusclosed => new
2021-11-19 14:11AugustoMauchResolutionfixed => open
2021-11-19 14:25AugustoMauchStatusnew => scheduled
2021-11-19 14:25AugustoMauchStatusscheduled => resolved
2021-11-19 14:25AugustoMauchResolutionopen => fixed
2021-11-19 14:25AugustoMauchNote Added: 0133223
2021-11-19 14:25AugustoMauchStatusresolved => closed

Notes
(0133223)
AugustoMauch   
2021-11-19 14:25   
Merge request: https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2/-/merge_requests/131/ [^]