Reduce Popup Window Size

Hello Experts,
I have one popup window, the height and width of popup window is being displayed too large.
I am using method window set_window_size() and passing the parameter u2018Width = 20%u2019 and u2018Height = 30%' but it doesnu2019t work. How to reduce Popup Window Size?
Could you please suggest me?
Thanks.

Check out this post POPUP WINDOW .
I think the popup size will work in later SP level, instead of work on height and width of the popup specify the size of the called UI  container.
Sergio

Similar Messages

  • How to reduce Popup Window Size?

    Hello All,
    I have one popup window, the height of popup window is being displayed too large.
    I used method IF_WD_WINDOW->WINDOW_SIZE( ), there are parameters 'Width' and 'Height' of type string, i have passed '30' and also '30%'  like formate, it didn't work.
    how to control the size of window? Could you please suggest me?

    To be honest i havent found the size parameters working, what you can do though is to RESTRUCTURE the TEXT to be displayed in the pop-up, that would allow you to controll the WIDTH of the pop-up.
    in my code sample below l_text table has 2 entries, we can further have more inserts to it to gain height.
    You can create pop-up with different text, by extending the below source.
    data :  l_cmp_api          type ref to if_wd_component,
              l_window_manager   type ref to if_wd_window_manager,
              l_popup            type ref to if_wd_window,
              l_text             type        string_table,
              l_api              type ref to if_wd_view_controller,
             RR_POPUP_WINDOW type ref to  IF_WD_WINDOW.     
      l_cmp_api        = wd_this->wd_get_api( ).
      l_window_manager = l_cmp_api->get_window_manager( ).
      insert `Records marked with RED LED contain error into table l_text.
      insert `To proceed processing with errors, select YES for this POP-UP.` into table l_text.
      rr_popup_window = l_window_manager->create_popup_to_confirm(
                    text            = l_text
                    button_kind     = if_wd_window=>co_buttons_yesnocancel
                    message_type    = if_wd_window=>co_msg_type_warning
                    window_title    = 'INFO'
                    window_position = if_wd_window=>co_center
                    ).                                          "#EC
          rr_popup_window->subscribe_to_button_event(
                   button            = if_wd_window=>co_button_yes
                   action_name       = 'TO_V_PODETAILS' "action on the view that handles click
                   action_view       = ir_view
                   is_default_button = abap_true ).
    RR_POPUP_WINDOW ->open( ).
    Greetings
    Prashant

  • Notify popup window size

    Hi,
    Is there a way to change the Notify popup window size (especially width)?
    Sometimes I got emails where the subject is quite long, and quite important information is at the end of the subject. The default width of the popup window is not enough to show the full subject.
    Thanks in advance for any tips.

    Hi,
    Unfortunately I too can't figure out a way to do this.
    Perhaps one of the GroupWise guru's knows something that we don't ;)
    Cheers,

  • Managing Popup window size

    I am using RoboHelp 10 - I need to manage the popup window sizes so the larger popups (images of the main screens) can be displayed full size but without scroll bars.  Can anyone help?  If I choose the option for the popups where I decide on the size it makes all popups that size.  Suggestion????
    Also - how do I create lists so the are properly aligned.  bullet remains to the left like a hanging paragraph and the text remains indented properly ....

    Any ideas?
    When I change the settings for toolbar, status, etc, then the
    changes take effect, it seems though only the width and height
    don't work for some reason.
    I would be very grateful for any suggestions
    Thanks
    Lyle

  • Change the popup window size in the "optional label with help" template?

    G'Day Apex/javascript gurus,
    I am using Apex 4.0 where I coded an HTML table for help text in one item. Now, when an user click for help in this item then the HTML table is bigger than the size of the pop up window so the client has to re size it a bit to see it fully. To fix this, I tried to create a new "optional level with help" template where I can control the size of the pop up window and make it bigger to fit my HTML table so the client does not have to resize but I could not find any parameter in the original template:
    <label for="#CURRENT_ITEM_NAME#"><span class="t9optionalwithhelp"> "javascript:popupFieldHelp('#CURRENT_ITEM_ID#','&SESSION.')" tabindex="999" that help me to achieve that
    I am not an expert in javascript but I appreciate greatly if somebody here could help me to create a new label (with help) template where I can control the size of the popup window.
    Kind regards
    Carlos
    Edited by: creyes on Aug 1, 2011 1:22 AM

    Hello Carlos,
    You can overload the APEX javascript with your own, on the page you want it to happen. You can do that in the Page Definition - Function and Global Variable Declaration.
    Copy the below code into there and change the width and height of the popup.
    function popupFieldHelp(pItemId, pSessionId){
        // Show jQuery div based dialog if not running in screen reader mode, if not fall back to old popup
        if (!$x('pScreenReaderMode')) {
            apex.jQuery.getJSON(
            'wwv_flow_item_help.show_help?p_item_id=' + pItemId + '&p_session=' + pSessionId + '&p_output_format=JSON',
            function(pData){
              var lDialog = apex.jQuery("#apex_popup_field_help");
              if (lDialog.length===0) {
                // add a new div with the retrieved page
                lDialog = apex.jQuery('<div id="apex_popup_field_help">'+pData.helpText+'</div>');
                // open created div as a dialog
                lDialog
                  .dialog({
                    title: pData.title,
                    bgiframe: true,
                    width: 500,
                    height: 350,
                    show: 'drop',
                    hide: 'drop' });
              } else {
                // replace the existing dialog and open it again
                lDialog
                  .html(pData.helpText)
                  .dialog('option', 'title', pData.title)
                  .dialog('open');
        } else {
            popupFieldHelpClassic(pItemId, pSessionId);
        return;
    }; // popupFieldHelpHope that makes sense,
    Dimitri
    http://dgielis.blogspot.com
    http://www.apex-evangelists.com

  • Popup window size problem

    Hi,
    For some reason, the popup window link in my Flash website
    opens up a popup which doesn't behave to the window size rules I
    set.
    The website is www.caveataudiens.net , click on the 'music'
    button, and then on the Jukebox button to see as example.
    The Jukebox button has the following actionscript:
    on (release) {
    //customize the window that gets opened
    // 0 equals NO.
    // 1 equals YES.
    address = "
    http://www.caveataudiens.net/music/mp3player.html";
    target_winName = "kirupa";
    width = 400;
    height = 300;
    toolbar = 0;
    location = 0;
    directories = 0;
    status = 0;
    menubar = 0;
    scrollbars = 1;
    resizable = 0;
    //sends data back to the function
    openWinCentre(address, target_winName, width, height,
    toolbar, location, directories, status, menubar, scrollbars,
    resizable);
    and in my main actionscript layer I have:
    stopAllSounds();
    forum_btn.onRelease = function() {
    getURL("
    http://www.flaccidsacks.co.uk/phpBB2/",
    "_blank");
    music_btn.onRelease = function() {
    gotoAndStop("music");
    links_btn.onRelease = function() {
    gotoAndStop("links");
    about_btn.onRelease = function() {
    gotoAndStop("about");
    news_btn.onRelease = function() {
    gotoAndStop("news");
    Movieclip.prototype.openWinCentre = function (url, winName,
    w, h, toolbar, location, directories, status, menubar, scrollbars,
    resizable) {
    getURL ("javascript:var myWin; if(!myWin ||
    myWin.closed){myWin = window.open('" + url + "','" + winName +
    "','" + "width=" + w + ",height=" + h + ",toolbar=" + toolbar +
    ",location=" + location + ",directories=" + directories +
    ",status=" + status + ",menubar=" + menubar + ",scrollbars=" +
    scrollbars + ",resizable=" + resizable +
    ",top='+((screen.height/2)-(" + h/2 +
    "))+',left='+((screen.width/2)-(" + w/2 + "))+'" +
    "')}else{myWin.focus();};void(0);");
    Can some kind soul help me figure out how to adjust the
    window size?
    Many thanks
    lyle

    Any ideas?
    When I change the settings for toolbar, status, etc, then the
    changes take effect, it seems though only the width and height
    don't work for some reason.
    I would be very grateful for any suggestions
    Thanks
    Lyle

  • On a certain website the window size has become so huge I cannot use certain features and am unable to reduce the window size myself. It went huge as I was moving the cursor and I have been unable to ajust this. How do I alter screen size manually?

    Sometimes when moving the cursor the window size on certain sites reduces or increases. This happens randomly and I am not able to make it happen to change the size of the screen to my choice. The window on a particular site is now so huge I am unable to use features on there as they do not come into view on my window at all. Please help me on how to control this feature or in other words how do I increase or decrease the window size manually.

    See "Resizing oversize window" - MozillaZine Knowledge Base
    *http://kb.mozillazine.org/Resizing_oversize_window
    There are a couple of extensions tat could also be involved
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>

  • Controlling popup window size

    Is there a way to influence the size of popup windows? I am
    developing help that will be displayed in a narrow panel, and
    popups get to be ridiculously narrow. It seems that the autosizing
    algorithm prioritizes tall over wide, so that a pupup topic that
    fits in the help display without scrollbars doesn't use as much
    width as it could. The width is extended as a last resort if the
    amount of text would otherwise demand a scrollbar. I would like the
    popups to be only a little narrower than the main window regardless
    of the text amount.

    GEWB,.
    Thanks. A bit of elaboration:
    I make extensive use of popups to display screen shots in a
    separate window so the user can browse help and go from topic to
    topic without necessarily navigating in the parent application at
    the same time. I also make the guide available in our DocWeb
    library as a standalone guide, so the user can read it with the
    parent application closed.
    Sometimes the popup window contains a fair amount of text in
    a subtopic that the user may need to read only once and never
    summon again. He or she has the option of ignoring that popup link
    on returning to the topic. It's the same principle as a Glossary
    definition. The link is there, but once you read it, why bother if
    you can remember it from last time?
    I haven't used dropdowns much, but as I recall they appear in
    the topic pane and push text down until they are dismissed. Useful,
    yes, but they wouldn't accomplish my purpose for popups.
    I looked through ehlpdhtm.js, which primarily serves IE. It
    figures out the autosize dimensions on the fly, and performs the
    dhtml effect on text, such as flying in and out, but
    Firefox/Mozilla/NS don't use dhtml effects.
    I can't find a place in ehlpdhtm.js where (if it's in this
    file) the default popup window is sized (it's about 300 px wide by
    150 px high).
    BSSCDHTM.JS doesn't appear in WebHelp output. Much of it is
    similar to the other js file. I have no idea how it's used. The RH
    help topic on output files mentions ehlpdhtm.js, but there is no
    reference to bsscdhtm.js.
    Is it possible that ehlp... replaced bssc.. and bssc... never
    was removed from the RH code? Or is bssc... perhaps used in
    generating html help?
    If it's in some dll file, I can't fiddle with it, unless you
    can tell me how to edit and save a dll file without destroying its
    dll file type. DHTMLFX.DLL has a lot of code that looks similar to
    the two .js files, but I can't find the default size. That's why I
    thought perhaps the non-ie browsers have a built-in default when
    the html code doesn't specify a custom size.
    I'm content with the workaround, using custom sizes for all
    popup windows, unless a real developer (of which I am not one) can
    help figure this out.
    Thanks again.
    Harvey

  • Taskflow popup window size

    Hai i had opned a task flow as an inline popup i want to the size to be increased is this possible to achive if so how to do it?

    Hi,
    You should be able to set the window height and window width properties on the button that you use to invoke the popup.
    That is if you use a button to invoke the popup.
    Regards
    Luc Bors

  • Popup window size

    How can I set size and location of a popup in JavaHelp 2.0 explicitly, i.e. in Java Code ?
    Thanks in advance
    Thomas G�lden
    Munich, Germany

    For the size you can use setSize();
    Code:
    Popup popup = (Popup) Popup.getPresentation(HelpSetName, null);
    popup.setInvoker(ButtonName);
    popup.setCurrentID("Sect1");
    popup.setSize(new Dimension(400,600));

  • New iTunes takes up my whole screen. How do I reduce the window size?

    Hi,
    The newest version of iTunes is taking up my whole screen but I can no longer find the little red/green buttons to make it smaller. I can't even minimize it with Command-M.
    I tried a force quit and restart of iTunes, but same thing.
    Help!
    Thanks!

    Thanks - moved the cursor all the way to the top, saw the little blue "shrink window" button in the top right.
    Meant to click "solved my question."

  • How to maximize a popup window?

    Hi,
    My issue:
    A popup contains data larger that the screen size, it therefore maximizes itself, meaning that it sets its WIDTH to 100%. But this is most unfortunate as WD does not recognise its own scrollbar as the end of the available screen and now the close button (cross) of the popup is beneath the scrollbar!
    When doing a "true" maximize by clicking on the button left to the "closing cross", it recognizes scrollbars and stays visible in total.
    My question:
    How can I programmatically access the maximize/fullscreen function? Interface IF_WD_WINDOW does not provide a corresponding method as far as I can see...
    Already tried:
    ...please no "put width and height to 100%" as I already stated that this is not what I want...
    Also setting width to 95% or the likes does not work, as the popup automatically sets 100% on refresh if there are to large contents.
    <br>
    I would appreciate your help on this!!
    Kind Regards,
    Robert

    Hi Robert,
    You can do any size related actions in POPUP, Actually we have SET_WINDOW_SIZE Method to set window size,
    But for popups it wont work.
    Please check this thread, check Thomos reply
    Re: Confirm Popup in Web Dynpro, window size
    Check using set_window_size.. but can't effect.
    How to reduce Popup Window Size?
    As suggested saravanan, check SAP NOTE also.
    Cheers,
    Kris.

  • Mail 7.1- Reduce window size in a new email

    I'm having problems reducing the window size when writing a new email. Mail 7.1 does not let me reduce the window size once I introduce a email address.
    Thank you for your help.

    Sorry, I didn't mean maximized in the way the window is fullscreen. I have the window in a normal size 2/3 of the screen - then press CMD+H to hide it. When a mail comes in Mail goes back from hide mode to window mode - very strange. And it is only on emails on my first account. When an email on my MobileMe account arrives it stays hidden in the dock.
    Maybe it is because I installed FlagIt from http://www.tastyapps.com - a little addon to mark emails with colores and flags. Will check this.

  • Reduce window size

    How do I reduce the window size in Safari?

    Hi mejake,
    Mouse over a corner until you see the two-way arrow, then click and move in the direction you wish.
    Cheers,
    GB

  • Popup with fixed window size

    Hey, i'm really stuck with this and keep hitting a dead end.
    i've got a button in my flash website and i want it to open a popup
    window of 600x400 pixels when clicked. The popup contains a
    background image of this size so i dont want any white space in the
    background. I've tried putting the following into the actions
    window with the button selected but nothing happens when i click
    the link in the website.
    on (release) {
    getURL ("javascript:openNewWindow('
    http://www.mysite.co.uk/support.html','thewin','height=400,width=600,toolbar=no,scrollbars =no');");
    If I attach a behaviour to the button to geturl, it works but
    brings up the page full size. I'm new to flash so am just going on
    scripts i'm finding on various websites. Is there a simple way to
    do this? Its pretty straight forward in Dreamweaver but i cant see
    where to specify popup dimensions in flash. Thanks, Dren

    I found a script that works. If anyone comes across this post
    this is what you need:
    on (release) {
    var jscommand:String = "window.open('
    http://www.yourdomain.com/yourpage.html','win','height=600,width=800,toolbar=no,scrollbars =no');";
    getURL("javascript:" + jscommand + " void(0);");
    }

Maybe you are looking for

  • Adobe Flash Player Update crash

    "Adobe Flash Player Update Service 11.3 r300 has encountered a problem ..." I'm trying to answer this question, but don't know how to do it. So I'm starting new discussion. I've had this problem for over a month and have reinstalled adobe flash playe

  • Send mail using utl_smtp

    Hi Experts, I am using utl_smtp package to send a mail from oracle procedure. My procedure is CREATE OR REPLACE PROCEDURE TEST_UTLFILE_EMAIL (pSender VARCHAR2, pRecipient VARCHAR2, pSubject VARCHAR2, pMessage VARCHAR2) IS mailhost CONSTANT VARCHAR2(3

  • Urgent - We are havinng a issue in XI

    All the messages under adapter engine of production system is displaying wrong start and end time in runtime workbench after DST change .However. correct time is displayed in audit logs Any ideas ??

  • Closes and open keys lock up

    I have reset the entire phone. Phone works fine for a while then I'cant even hang up a phone call if a get a busy siginal or answering machine. I have to do a solf reset. But if a get through to someone and talk, then hang up it disconnects??? can an

  • Enhacement coding

    HI everyone,           I have table ANLA in R3 and the fields xxxx and yyyy to be added to the datasource of asset master data . attribute i know the processing steps .just i dont know how to code in cmod for include <b>zxrsu01</b> .Pls can give me c