You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attribute labels and values in the networgraph will always wrap using hyphenation, always left aliging the labels and right aliging the values.
One can debate about whether these are appropriate defaults, but what seems a shortcoming in the design is that it is impossible to influence this behavior.
The constructor T happens to be a simple sap.m.Text control.
Things can be improved a lot by simply adding a few properties, and using the property getters instead of hard values for textAlign and wrappingType:
@tsanislavgatev Is there a legal restriction that customers are not allowed to report SAPUI5 bugs on GitHub in general? If not, how about creating another repo just for the SAPUI5 issues? Or any other ideas to make reporting, discovering, and discussing SAPUI5 bugs as easy as possible?
OpenUI5 version: 1.76.1
Attribute labels and values in the networgraph will always wrap using hyphenation, always left aliging the labels and right aliging the values.
One can debate about whether these are appropriate defaults, but what seems a shortcoming in the design is that it is impossible to influence this behavior.
The source where it happens is
https://sapui5.hana.ondemand.com/1.76.1/resources/sap/suite/ui/commons/networkgraph/ElementAttribute.js
The code that does the rendering is:
The constructor T happens to be a simple sap.m.Text control.
Things can be improved a lot by simply adding a few properties, and using the property getters instead of hard values for textAlign and wrappingType:
The text was updated successfully, but these errors were encountered: