cancel
Showing results for 
Search instead for 
Did you mean: 

How to reduce the size of the confirmation pop up window?

Former Member
0 Kudos

Hello All.

In my application I have used confirmation pop up, for updating the users about the actions they have performed.

But the size of the pop up window is too big.

I want to reduce the size of the pop up window.

How can I achieve this?

Regards,

SampathKumar.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Did you ever figure out how to control the popup size with if_wd_window_manager->create_popup_to_confirm ?

we have very little text in the popup and its box size huge. Ugly.

Former Member
0 Kudos

Thank You All for the Help.

Former Member
0 Kudos

Hi,

If you are using the method CREATE_POPUP_TO_CONFIRM of interface IF_WD_WINDOW_MANAGER for the same, then you can set the width & hight using paramters WINDOW_WIDTH, WINDOW_HEIGHT.

Regards,

Manne.

Former Member
0 Kudos

Hello Mr.Manne.

What is the kind of value that we need to specify for the those parameters?

Does it should be in percentage or pixels.

I tried both but I am getting an error.

Can You please help me?

Regards,

SampathKumar.

Former Member
0 Kudos

Hi,

You can specify as

WINDOW_WIDTH as '20'

WINDOW_HEIGHT as '30'.

if it doesnt work,you can explicilty set the height and width as,

*Set the height and width here

lo_popup_window->set_window_size( width = '20' height = '30' ).

Also refer this link,

Hope this mite help u!!!!

Thanks,

Divya.S

Former Member
0 Kudos

Hello Divya.

I tried using the option which You Gave as well as through the links that You have provided.

But the size of the pop up window doesn't change.

Regards,

SampathKumar G

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

That's because these parameters and methods for setting the Window size are not supported yet in the HTML rendering of Web Dynpro. They are for future usage/smart client rendering. For now in the HTML rendering you can set the size by inner content of the popup. The popup automatically resizes to its inner content. If you are reusing one of the standard SAP-Provided confirmation popups, then you really can't control the size.

Former Member
0 Kudos

>

> The popup automatically resizes to its inner content. If you are reusing one of the standard SAP-Provided confirmation popups, then you really can't control the size.

Hi Thomas!

Yes, it is true, but in our HR system after an SP upgrade it dosn't works.

Look at my thread, you can see an image 'BEFORE and AFTER' !

[|]

Thanks.