sap.m.MessageBox - can not applyContentPadding of sap.m.Dialog
See original GitHub issueI want to do something like this:
sap.m.MessageBox.show(new sap.m.List({
items : []
}), {
applyContentPadding: false
});
But sadly, sap.m.MessageBox
does not proxy the applyContentPadding
property to the sap.m.Dialog
class.
Issue Analytics
- State:
- Created 8 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
sap.m.MessageBox - can not applyContentPadding of sap.m.Dialog -
I want to do something like this: sap.m.MessageBox.show(new sap.m.List({ items : [] }), { applyContentPadding: false });. But sadly, sap.m.
Read more >Messagebox problem - SAP Community
I wanted to make a confirmation box for my delete button. This is the confirmation box function in the controller: handleConfirmationMessageBoxPress: function( ...
Read more >sap.m.MessageBox - API Reference - Demo Kit - SAPUI5 SDK
Provides easier methods to create sap.m.Dialog with type sap.m.DialogType.Message, such as standard alerts, confirmation dialogs, or arbitrary message ...
Read more >OpenUI5 Blog
MessageBox (sap.ui.commons and sap.m): can now display any control as content, not only strings (this is also being downported to 1.22 and ...
Read more >Release Notes - OPENUI5 SDK
[FIX] sap.m.ListItemBase: Space key should not scroll down the list. [FIX] sap.m.MessageBox: HCB theme clean up; [FIX] sap.m.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, that would work.
But my point is, I don’t understand the possibility to pass in complex controls as content but not being able to set the content padding. One of both would make more sense to me. Also just being able to pass in a string and not being able to control the content padding (a very limited control) or passing in a List control and set the padding needed.
But if you want so, close this issue. Using a Dialog will work.
Old issue. As already written be @Shtilianova this enhancement will not be implemented. Therefore, closing the issue. @SunboX Thanks a lot for opening the issue.