How pack works

Hi have forms with multiple forms inside it.
Usually I work with pack (). or even we can think of setting
the size of the dialog: setSize (Dimenssion) - what the sizes of
each sub-components will be?
I would like to know how resize of the components works.
How mimimum, maximum and Preferred sizes are calculated and
contribute to the final size of the form.
Could give me links or anything that helps.
thanks.

Usually, layout managers will try to give each of their components its preferred size, and AFAIK, this is how the size for pack() is calculated. If there is less space available than preferred, a layout manager will shrink components down to their minimum size. If there is more space than available, components may be enlarged up to their maximum size. However, this is theory; behaviour is very much dependent of the layout manager you use and may be manipulated e.g. by setting layout constraints.
Regards

Similar Messages

  • Explanation of how Iphoto works.

    Can someone please explain to me how iPhoto works as far as organizing photos and duplicating/converting photos. I have a bunch of photos in my photo file, and I would like to keep them all in one place (via iPhoto), but when I have experimented with it, Ive knowticed that dragging photos into iphoto, doesnt move the file at all, it just duplicates it, and then hides the duplication?, it also changes the image into a smaller file and creates "thumbnails???" I'm so confused. Can someone tell me what im supposed to do.

    Hi Derek,
    Here is some more info to add to PhillyPhans great answer.
    --First thing to know and remember is this...Do not drag any images, folder of images into the iPhoto Library in the Finder. Images have to be imported into iPhoto within the application. Do not scan images and save them into the iPhoto Library folder in the Finder. Save them to another location such as the Pictures folder or even the desktop. You can then import them into iPhoto.
    If you have already put files/folders in the iPhoto Library folder in the Finder then you will also find out that if you try to import them into iPhoto you will get an error message. No worry, just drag them to the desktop and import from there.
    --All images that you import are shown in the library view. You can choose how you want to view, by rolls, by date, by rating, etc. When you put images in an Album, slideshow, book, etc, you are actually just putting pointers to those images in the library. You are not adding more images. If you delete an image from the Album it will still be in the library. If you delete an image from the library it is deleted from iPhoto's database (the iPhoto Library folder in the Finder) and your hard drive ONLY after you empty iPhoto's trash. (unless you have it backed up somewhere else)
    --You have a folder of images on your hard drive and want to import them into iPhoto. Drag the folder of images into an open iPhoto Library window and the folder of photos will be copied into the library, resulting in a new roll with the name of the folder. You now have two copies of those photos, the ones in iPhoto's database and the ones on your desktop. You can keep the ones on your desktop that you just imported as backup or you can delete that folder. You can also drag a folder of photos into an empty space in the source column and a new roll and album will be created at the smae time for those images in the folder. The album will have the same name as the folder you dragged into the source column.
    -- you scan a picture/pictures and save it in a folder. You cannot scan directly into iPhoto or the iPhoto Library folder in the Finder.
    You want all your photos in iPhoto so you import them into iPhoto.
    Now you have two copies of that picture/pictures, so you can delete the originals that were in the scanned folder and keep the one/ones that were imported into iPhoto.
    -- You download pictures from your camera into iPhoto.
    There is now one copy of each of the pictures. (DO NOT HAVE IPHOTO DELETE THE IMAGES FROM YOUR CAMERA! DELETE THEM MANUALLY WITH THE CAMERA-if something goes wrong with the import and they are never imported and then they are deleted from the camera you might end up losing those images)
    --You want to change something about a picture you imported, such as
    cropping it or changing the size, or changing the orientation.
    Once you do that to a picture, you now have two copies of the picture
    in iPhoto, the original and the edited one. The edited one will be in the library organize view. The original is packed away in an Original folder in your iPhoto Library folder under the date of the roll. You can always revert to the original by control clicking on the photo and choose "revert to orginal" You will not have this choice if you used iPhoto Diet to get rid of the Originals.
    (a quick note on cropping within iPhoto...when you are in edit mode, you automatically will be in the crop mode with cross hairs to highlight the crop area. To finish cropping you must click the crop button and then go back to library view and your cropped picture will be there.
    --You want to use Photoshop or another graphic program to edit a picture in your iPhoto library.
    You can open up prefs for iPhoto and choose
    For iPhoto 5--"when double clicking on
    photo" ..do" choose "other" and select Photoshop. Now you can edit all
    pictures in your iPhoto library in PhotoShop by double clicking. If you save the photo with the same name and as a flattened file it will be saved right into iPhoto and you will see the changes. If you don't want to save it into iPhoto then do a "save as" and save to the desktop. You will then have the original photo still in iPhoto and your new edited photo on the desktop.
    For iPhoto 6 (from the Apple Help Menu)-Have you ever used PS as the external editor set up within iPhoto Prefs?
    From the iPhoto Help menu;
    "Choosing what happens when you click the Edit button
    When you want to edit a photo, you can have the photo open in iPhoto's edit view, in a separate window, in full-screen view, or in another application.
    To choose a preference:
    Choose iPhoto > Preferences.
    Click General at the top of the Preferences window.
    Under Edit Photo, select one of the following options:
    "In main window" opens the photo in the main viewing area.
    "In separate window" opens the photo in a separate window.
    "Using full screen" opens the photo in full-screen view.
    "In application" opens the photo in another application you choose.
    To open a photo in its own window when "Main window" is selected, press the Option key when double-clicking the photo.
    To open a photo in edit view when "Separate window" is selected, press the Option key when double-clicking the photo.
    Note: Any video clip you imported into iPhoto will always open in QuickTime Player when you double-click it."
    And...
    "Editing photos in another application
    You can do many editing tasks in iPhoto, such as rotating and cropping a photo, changing a color photo to black and white, adjusting exposure and contrast, and reducing red-eye. If you want to make other changes to a photo, you can open it in another image-editing application, such as Adobe Photoshop.
    To edit photos in another application:
    Set your preferences to open photos in another application when you double-click them or click the Edit button. (See Related Topics below.)
    Double-click the photo to open it in the application.
    Edit the photo and save it using the same name and file format.
    The changes you made to the photo will be visible when you return to iPhoto.
    IMPORTANT: When you double-click a RAW-format photo, iPhoto creates a copy of the photo in JPEG format, which opens in the other application. To edit the photo in its original RAW format, drag the photo from the iPhoto window to the Finder, and then use the other application to open it. (If you previously used iPhoto to edit the RAW photo, select the photo and choose Photos > Revert to Original before dragging it to the Finder. This way, you can edit the photo using its RAW data in the other application.) If you want to import the photo back into iPhoto, you must first save it as a JPEG or TIFF file."
    --Or, with iPhoto open, you can drag a picture from the library window
    to your desktop (you see a + sign on the pic you are dragging). You now
    have two of the same picture, one in the iPhoto library and one on your desktop. You can open up the one on your desktop in any graphic program and work on it. The one in iPhoto stays the same. You can also share/export the picture/pictures to your desktop or folder to work on them or do batch processing, etc. You will still have the originals in your iPhoto Library.
    --Or, you can open up the ~/Pictures/iPhoto Library/folders and option drag any
    picture out of the folder to your desktop. Notice that you will see a plus sign while dragging the photo. This is copying the file to your desktop
    I would advise anyone not to do this as they might forget to use the option key and drag the photo out. Next time you open iPhoto the photo will be missing.
    -The one option you will not find within iPhoto is to resize photos. iPhoto wants you to keep all full size images within iPhoto to give you the best size for printing or using for other applications. You can however go to Share>export (for iPhoto 5) or File>export (for iPhoto 6) and choose the naming scheme, input the dimensions and export to the desktop to use for uploading to a web space or emailing.
    --to email a photo set up your email client in iPhoto Preferences. Once done, just select a photo/photos and hit the email icon in the toolbar.
    If you use a web based email, then you need to export the photo to the desktop and upload it from there.
    Two Apple kbs for you to read
    Don't tamper with files in the iPhoto library folder
    About the iPhoto Library folder
    Don't forget that in Library view you can Control click on any picture and get a contextual menu with many options. One is to revert to original.
    For more help and information you can go to the Help menu wiithin iPhoto and input your search term in the search bar, then hit the "enter" key on the keyboard or just browse through the topics and categories.
    You can also go to the iPhoto Support site and browse the topics there including the tutorials.
    iPhoto Support

  • How to work with both desktop and Surface pro 3

    Hello,
    I have a desktop for my normal use of Adobe Creative Cloud for Photoshop and Lightroom.  I have my lightroom catalog on a separate external drive.  I just got Surface pro 3 to do Adobe on it.  I am now confused on how to work on Surface and how to access my Lightroom catalog.
    Thanks for your help.
    Mo

    Just install Lightroom on your Surface Pro, plug-in the external drive, and double-click the LR catalog file.

  • How to work with 360 video?

    I am new to AE and am trying to work with a 360 equirectangular video I shot with a Freedom 360 and 6 go pros.
    Are there any tutorials on how to work with 360 spherical videos? Do I need to download additional plugins?
    Thank you,
    Phil

    Phil,
    Of course, the image needs to be big for this, but the plugin you would use is CC Sphere.
    Drop your movie into a composition and apply CC Sphere to the video.
    Then set the Render option in the effect to "Inside".
    Under Shading set Ambient to 100% and Diffuse to 0%.
    Then scale inside the effect until the image fills the screen.
    Then you'll be able to use the Rotate Y controls in CC Sphere to spin around inside your video!
    You can also add Optics Compensation and Reverse the Lens Distortion to straighten out your image.
    Let me know if you have any questions!
    Trent

  • Hey Guys, from Germany. I want to connect my iMac 21" with my Tv just for fun. Does anyone know, how it works. With a Hdmi adapter?

    Hey guys! I want to connect my Imac 21 " with my Tv just for fun. Does anyone know , how it works?

    Selecting the correct adapter and cable depends on which year model iMac you have and what inputs the TV has?
    Check the User's Guide that came with your iMac or your Spec's at > Apple - Support - Technical Specifications
    to see if your iMac has a Mini-DVI or Mini DisplayPort and then select that adapter with the correct connection for the TV.
    Example: if you have a 2010 or 2011 iMac and an HDMI ready TV, then you would want the > Moshi Mini DP to HDMI Adapter with Audio Support - Apple Store (U.S.)

  • I was looking at the "Find my iPhone" app and I have a doubt regarding how it works for the macbook. In order to detect the location, the macbook should remain signed into iCloud. What if the thief logs out of iCloud. Would we able to locate the macbook?

    I was looking at the "Find my iPhone" app and I have a doubt regarding how it works for the macbook. In order to detect the location, the macbook should remain signed into iCloud. What if the person who has stolen my macbook logs out of iCloud.
    It should work fine for iPhone/iPad because we can enable "Restrictions" to prevent the user from signing out of iCloud. Do we have simialr settings for the macbook?
    Thanks,

    If it's not on the device list, it indicates that someone has gone to Find My iPhone on icloud.com and manually deleted it from the device list (as explained here: http://help.apple.com/icloud/#mmfc0eeddd), and it has not gone back online since (which would cause it to reappear on the device list; Find My iPhone has been turned of in settings on the device; the iClolud account has been deleted from the device; or the entire devices has been erased and restored.
    Unfortunately, there's no other way to track the phone other than through Find My iPhone.  You could call your carrier and see if they would blackliste it so at least the theif couldn't use it.

  • I need to change my apple ID because I'm changing my email address. I'm worried that when I do, I'll no longer be able to use my first generation apple tv unless I change the apple ID there as well.  Does anyone know how this works??

    I have to change my apple ID because I'm changing my email address. (I have a Comcast address and am switching to U-verse) I'm worried that when I do, I'll no longer be able to use my first generation apple tv unless I change the apple ID there as well. I'm also trying to find out if changing my apple ID is going to interfere with getting my itunes content on my computer and my iphone.  Does anyone know how this works??

    My iTunes appleID is an old defunct e-mail address - it does not have to be functional.
    Do what Winston says to ensure you keep getting correspondence related to that ID.
    AC

  • HT3209 how many times i can watch the show after i purchased on i tune and how this works

    I was just wondering if sombody can help me with this because i am new to itune  . I would like to know how it works after u purchase tv show , do i have to pay once and watch more time or i have to pay every time i watch . Thank you in advance .

    I was just wondering if sombody can help me with this because i am new to itune  . I would like to know how it works after u purchase tv show , do i have to pay once and watch more time or i have to pay every time i watch . Thank you in advance .

  • On my ipod touch I'm not too sure how I uploaded a album onto my ipod from my laptop. But, now there is no way to delete the album full of pictures. What do I do? I only gotten it a while ago and not fully sure how to work it. Help?

    On my ipod touch I'm not too sure how I uploaded a album onto my ipod from my laptop. But, now there is no way to delete the album full of pictures. What do I do? I only gotten it a while ago and not fully sure how to work it. Help?

    http://support.apple.com/kb/HT4236

  • I no longer have access to my icloud email and don't know the answers to my security questions. Does anyone know how to work around this to reset my icloud ID without losing my info? I haven't backed up in a year because of this.

    I no longer have access to my icloud email and don't know the answers to my security questions. Does anyone know how to work around this to reset my icloud ID without losing my info? I haven't backed up in a year because of this.

    You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
    (123381)

  • I pad 2 updated to iOS 6.1.3 and now wifi is greyed out. Apple support engineers say replace but my warranty exited 09/12. Funny how it worked perfectly fine before the update.

    I just updated to6.1.3 and now my wifi button is greyed out. Apple support said it is a hardware issue. Funny how it worked just fine on the previous iOS. Now apple wants me to buy a replace not because my warranty expired 09/12. Seems to me like ios6.1.3 was an update to sell more products. Tried all suggested fixes with no success. With all the noted issues with ios6 there may be another class action lawsuit coming. Apple tech senior advisor unwilling to help. First advisor told me just buy a new I pad. Second advisor wants me to pay for a replacement. Can someone explain to me how an apple approved software upgrade that damaged my i pad is classified as my fault. I've seen some shady selling techniques but this one takes the cake in my book. Anyone have the contact information to higher up executives in apple for me to speak with about my issues?

    Have you check the following?
    Verify that airplane mode is off by tapping Settings > Airplane Mode.
    Reset the network settings by tapping Settings > General > Reset > Reset Network Settings. Note: This will reset all network settings, including Bluetooth pairing records, Wi-Fi passwords, VPN, and APN settings
    Ensure that your device is using the latest software.
    If your issue is still unresolved, perform a software restore in iTune

  • How IE works for  flat file

    Hi all:
         As we all know that, when IE gets a idoc's service name from SLD, then use it with idoc's message type and Idoc type to do receiver determniation, what about flat file ? how can we know its Service name and interface name  if there is only a flat file on FTP?  how IE works for Flat file ?
         Couldn't thank you more

    Hi,
    For any idoc scenarious, you would use business systems rather than business service which is stored in SLD. So the IE would fetch it from SLD at runtime.
    For file based scenarious also, you can create business system as type third party and use the same.
    Is that answer your question?
    Regards
    Krish

  • Better process for introducing new features and explaining how they work

    There are all kinds of new features being added to the Creative Cloud app but knowing what they are and learning about how they work isn't the most user friendly process. The current process is read the release notes after updating to a new version. The release notes should hyperlink to the related features in the product help. It would be great if there was a "What's New" section for the Creative Cloud app itself with new releases which included an introduction to new features just like there is for the desktop products.

    This is a poorly explained reason about why is so important having a loupe in Photoshop. I've not also, used the best example, but I will. This belongs to the ADDITIONAL FEATURES: Loupe/Magnificator View:. Also, I will try to make my english clrearer, but here it goes:

  • How does works default parameters in a program with logical database PNP?

    Hi Friends,
      I have a basic program, i need to filter info with period parameters in a program that uses logical database PNP, but it doesn't work.
      If i use "person selection period" that it's suposed to filter info according to infotype 0001 (as the sap help says), it doesn't work, i use: PNPBEGPS = today and PNPENDPS = today, and the result it's a lot of registers that doesn't meet that criteria.
      Also i tried with: data selection period, today, up to day, current month. And the result it's with the same problem.
      How does works period parameters in a program with logical database PNP?
    This it's the program example, i use the default category.
    REPORT  ZRPHRTEST.
    tables: pernr.
    infotypes: 0001.
    start-of-selection.
    get pernr.
      write: pernr-pernr, p0001-begda, p0001-endda.
    end-of-selection.
    write 'fin'.

    Hi,
    Define pernr table under tables statement then and use GET PERNR event.This get event is followed by End-Of-Selection.
    Syntax: Tables pernr.
                Get pernr.
    Try, activate and test. This should solve your problem.
    Regards,
    Abhijeet

  • How to work with EEWB tool in CRM and how to assign it to PCUI

    Hi Friends,
    Can any body will suggest me how to work with EEWB tool in CRM to add new fields ,i need to attach the fields to a GUI screen and same to PCUI also,
    And how to attach a search help for those fields,is the tool will automatically will create the search helps or it is similar as we do in abap,
    So can any body suggest me to get a material on this ,
    Thaking you
    Regards
    Raghavendra Prasad

    Prasad
    Following are the steps involved in general :
    1. Select the filter Worklist and enter your name in the input field of the object list selection. Press the enter key. Your object list is displayed.
    2. Place your cursor on the highest node(PROJECT BY XXXXXX). Select Create project from the context menu by right-clicking on it. You see the dialog box Create project.
    3. Enter a project name, description, packages, and namespaces for each system used. Leave the dialog box by pressing the enter key.
    Specify transport requests. The Project is created and appears in the object list.
    4. Place your cursor on the new project in the object list and select Create extension in the context menu. You see the dialog box Create extension.
    5. Enter a name and description. Define a Business Object and extension type. Press the enter key.The extension is created and appears in the object list below the project.
    6. Place your cursor on the new extension in the object list and select Call wizard in the context menu. The wizard for the extension action starts automatically.
    7. Fill in the input fields following the notes on screen and end the wizard by clicking on Complete.The extension tasks have been created and appear in the object list.
    Project and extension are created !
    Also take care that you have the Transport Requests and Save the Project and Extensions against a Development Class !
    In general , EEW will automatically puts the fields on the Screen. We donot want to worry abt that !
    The generated BADIs can be implemented to do some Checks(for example) !
    I hope this helps !
    Thanks
    <b>Allot points if this helps !</b>

Maybe you are looking for

  • Adobe Reader XI Spanish don't work

    When i install Adobe Reader XI on a PC with Windows 7 64bit spanish, Adobe Reader dont display menus on Spanish, even if i change on Preferences > Languages.. plz hlp

  • Look And Feel: Metal Themes

    Hello, I have two basic questions I can't find the answer to. I hope someone can help. From my understanding of Java 1.5 you now have 2 basic themes to them metal look and feel, they are "Ocean" (the default) and "Steel". Is this understanding correc

  • Is this spam? What is iProtect?

    I keep recieving this text and it orginates from a China prefix followed by my own phone number--Verizon says it can't be blocked because it is international and they are costing me money. Is this spam? iProtect - Your sim status has changed, it may

  • Photo Optomization

    Hi,    I have been asked this question many of times. How do I have the page/photo load faster with out loosing or minimizing loss in quality of the image? So here is the complexity of my situation: My website: www.libkofficial.com If you take a look

  • Insert graphics in smartform from URL

    Hi, In a particular scenario i am trying to insert graphics in the smartform from the URL. Is it possible? If Yes, pl. let me know the steps. I know how to use graphics from the SE78 transaction, but not from URL