How to change the size of `SendNotification` popup window and icon?

This code:

game.StarterGui:SetCore("SendNotification",
{
	Title = "Aviso";
	Text = ""Todas células estão preenchidas.\nElimine algumas para poder adicionar mais.";";
	Icon = "rbxassetid://5262562371";
	Duration = 10;
	Button1 = "Fecha"
})

… creates this popup warning:

StarterGui:SetCore doesn’t inform too much.

In the popup above, the text is truncated and the icon is oversized (the original icon is smaller):

Is it possible to have a larger popup window and to control the icon size?

Not entirely sure what you’re asking here, honestly. But I think you might want to look into UIScale? It helps adjust a GUI item’s size based on your monitor size, which is probably what you’re looking for.

I think you’ll have to make your own GUI for that. I think the CoreGuis can’t be modified by scripts, so you’ll need to make a regular GUI that can be modified.

1 Like

As far as I know, the notification ui from roblox is a CoreGui and CoreGuis can’t be manipulated without the use of CoreScripts. You’ll have to recreate it

I improved the original post and I put the original code there.
I can’t see how could I change the popup window dimensions to fit the whole text.

Remove the newline \n perhaps? You can always change the text a bit. The image’s size might actually be a solution just realised you said that. If it doesn’t look too bad maybe make two notifications to make the text fit.

Thanks for your tip. I know that, but that’s not the solution nor the question.

You cannot modify the size of the notification popup or any of its elements to achieve this your going to have to make a custom solution which would not be that hard.