Window resizing help

I've been trying different ways of getting a window resize its height. I tried applescript and Objective C with applescrict call. The window sizes but not the way it needs to.
When the position is changed the window appears to shade/slide upward. and the items (buttons) apear to stay with the lower half as the top half/tittle bar expands
I need to window to shade down once, (keeping items where they are) and after another execution it shades down further (the window width would stay the same, and the position if possible wouldn't matter--user defined)

I've been trying different ways of getting a window
resize its height. I tried applescript and Objective
C with applescrict call. The window sizes but not the
way it needs to.
When the position is changed the window appears to
shade/slide upward. and the items (buttons) apear to
stay with the lower half as the top half/tittle bar
expands
I need to window to shade down once, (keeping items
where they are) and after another execution it shades
down further (the window width would stay the same,
and the position if possible wouldn't matter--user
defined)
Cocoa uses a coordinate system that has the origin in the lower left corner (rather than the upper left corner) so simply increasing the height will typically slide the top of the window upwards. To compensate for an increase or decrease in height and keep the upper left corner of the window in the same position you must also adjust the origin downwards or upwards respectively. See Sizing and Placing Windows for an example.
You should be able to control how the buttons react to window resizing by setting their Autosizing "springs and struts" in Interface Builder (in the Info panel's "Size" pane).
Steve

Similar Messages

  • Home folder window resizes after shut down

    Since updating to Yosemite, I notice that my Home Folder (window) resizes it self upon restart (after a shut down) thereby allowing me to see only a few of the dozen or so folders I keep inside. This is different in my experience from all other previous versions of Mac OS, where the Home Folder always opened in the size I set for it.
    Does anyone know a fix for this?

    denlv,
    You could try trashing the hidden file ( .DS_Store ) inside the folder that stores some of its positioning and size settings.
    To show your hidden files.
    Launch ( Terminal ) > Paste in the following ( defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder ) > Press Return.
    Open the ( Offending Folder ) > Delete ( .DS_Store ) > Restart > Move folder how you want to to stay > Restart > Resize and try again to recreate > Did it stay?
    To reverse your hidden files back to hidden.
    Launch ( Terminal ) > Paste in the following ( defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder ) > Press Return.
    Supporting Articles
    http://ianlunn.co.uk/articles/quickly-showhide-hidden-files-mac-os-x-mavericks/
    http://en.wikipedia.org/wiki/.DS_Store
    Hope that helps,
    Weston

  • AIR project window resizable - can I avoid?

    The window for the AIR version of my project is able to be resized, and users see everything on my pasteboard.
    Is there any way to keep this from happening?
    Any help would be appreciated!

    Hi,
    Not sure what you mean by users being able to see your pasteboard.  (Perhaps post a sample/screenshot of your app)
    On the AIR window resizing issue, I expect that you would need to import your project in FlashBuilder to control this.  There is an app xml file that controls the following AIR application settings for the initial Window:
    If your FB project is called foo a foo-app.xml will also be generated. This is an application configuration file.  Edit this file, in particular change:
    <!-- Whether the user can resize the window. Optional. Default true. -->
    <!-- <resizable></resizable> -->
    to:
    <!-- Whether the user can resize the window. Optional. Default true. -->
    <resizable>false</resizable>
    (Note: This property is commented out and the default value is true.)
    Hope this helps.
    Tanya

  • Window resizing after airplay use

    The annoying thing, is it possible to avoid the window resizing each time i have used airplay from desktop to ATV, so i dont have to scale back and reposition every open app everytime i need to switch back?

    -> Start Firefox in -> [[Safe Mode]] to check if your add-ons/extensions are causing the problems.
    * Also see this article -> [[Troubleshooting extensions and themes]]
    Check and tell if its working.
    For Crashing problem, see this article -> [[Firefox Crashes]]
    * IF it crashes again, submit your Crash IDs here as described in section '''"Get Help Fixing this Crash"''' of the above mentioned article.

  • Make text areas and textfields streach as window resizes

    im using the border layout for most of my panels. how do i make text areas and textfields stretch as the window resizes?

    Components placed in BorderLayout.CENTER will resize as the window resizes.
    You will likely need to have nested JPanels, with different layouts, to create the ultimate layout of all your components in a frame, especially for non-trivial applications.
    If you need specific help with layouts, you'll have to post an SSCCE.

  • Disable window resizing and lock them?

    Is it possible through a prefernce or maybe an application to disable window resizing and lock their positions. I let my friends and family use my computer and they always move stuff around and resize everything. It really annoys me and I hate having to adjust everything to the way I like which I have spent hours setting up so they can just destory in a matter of seconds. I know I can setup a guest account but I don't have the memory or processing power for it since I usually have about 3-5 applications always open. I would also I like to steer clear from that route if possible. Thanks for any help on my issue! I did try searching to no avail however if this is already been discussed I appologize and a link to the discussion would be appreicated.
    1.42Ghz G4 Mac Mini   Mac OS X (10.4.8)   ATI Raedon 9200, 256MB ram, Model number: A1103

    The setting up and use of a guest account will not affect the memory or processing power but will use some of the hard disk space depending on how much stuff you allow your guest user(s) to save.
    You can easily set your favourite apps to load when you login again by clicking and holding on the app icon in the your Dock before you setup the new account - a pop menu appears. The advantage of having a separate account is that if you set it up as a non-administrator account the guests would not be able to screw up things too much, where as at present they could cause havoc.
    chris

  • Scrolling and windows resizing

    Is there a way to turn off the feature where if you scroll up or down with your mouse positioned over a windows title bar it resizes the window. This "feature" works with both a standard mouse using a scrollwheel and also when using a touchpad with two finger scrolling.

    The only third party program that I use which modifies the mouse is Sizeup and I have rigorously gone through its setting to determine if it was causing this behaviour. Also the behavior persists even when I shut down sizeup so I don't think it is the cause.
    edit:
    I would also add that this behaviour only appeared after I upgraded to 10.8. While I do have a lot of third party programs running and alot of them were updated when mountain lion was released so it is theoretically possible that this is behaviour is comeing from an external source I have no idea why any of the other programs I have running would affect window resizing.

  • Crashes on window resize

    I am a loyal user of logic for 8 years now. yes I'm posting about an issue where logic crashes (as in: freezes for 30 seconds then closes even if other apps are reWired to it)
    It does this SOMETIMES, when resizing any window in logic..
    it says: UNEFINED RECURSION ERROR and then you know you'll be rebooting your mac g5 (tested on g4 too)
    I sit here thinking of ten years of buying updates.
    and by PURE LUCK alone, I buy every update hoping that certain issues will be fixed. Most are not.
    On a mac there are two ways a window can be act when being resized:
    1 - as you drag the re-sizer corner of the window, you see only a dotted outline of the window, then when you let go, the window resizes.
    2 - as you drag, the entire contents of the window moves as you drag.
    #2 causes crashes. #1 is fast and quick.
    Mr. Moderator, you can delete this post as expected. But you do know as well as I do, these guys never do a user request.
    I mean my $200 alone is enough to pay one developer to fix things like this.
    Nevermind $200 from 2 million people!
    What are you doing with your user requests and your users money?

    Might try removing your media files associated with the project... put them in another folder, or disconnect the fw drive that holds them...?
    Do other project files do the same or just this one?
    Jerry

  • My ipod touch 4g is not charging using a wall charger and is not being recognize whatsoever by my laptop (windows) any help?, My ipod touch 4g is not charging using a wall charger and is not being recognize whatsoever by my laptop (windows) any help?

    My ipod touch 4g is not charging using a wall charger and is not being recognize whatsoever by my laptop (windows) any help?, My ipod touch 4g is not charging using a wall charger and is not being recognize whatsoever by my laptop (windows) any help?

    Hvae you tried here:
    iOS: Device not recognized in iTunes for Windows
    iPod touch: Hardware troubleshooting
    Have you tried another cable?
    Look at the dock connector. Look for abnormalities like bent or corroded contacts, foreign material and cracked or broken plastic

  • HT201269 I have my iTunes library on my Windows 7 machine on an external hard drive.  I purchased a new Macbook and would like to point my new machine at my iTunes library without losing anything and then deactivate iTunes on the Windows machine, help ple

    I have my iTunes library on my Windows 7 machine on an external hard drive.  I purchased a new Macbook and would like to point my new machine at my iTunes library without losing anything and then deactivate iTunes on the Windows machine, help please

    Sorry, but this does not seem to be an iPad question. I'd therefore suggest you ask in the iTunes for Mac forum.
    Regards.

  • Can't install C:\AS10gNT_Disk1 on windows-desperated--Help .

    Can't install C:\AS10gNT_Disk1 on windows-desperated--Help .
    hello forum it seems as if i have miss understood something about installing C:\AS10gNT_Disk1,2,3.
    1: i have unziped all the 3 zip files in there respectivelly folders.
    for examples.C:\AS10gNT_Disk1\Disk1.
    i have oracle 9is db installed on my pc,
    so in a previous maill somebody adviced me, plus the installation errors showed me that i could't installed it in C:\oracle\ora92 witch is where I have oracle9is db installed.
    Then I was told that I could just give any new oracle_home and path.
    but this is not working for me.
    when I run oracle universal installation.
    destination.Then
    Enter or select an oracle home name and its full path.
    as i have to enter a different name from my previous one where oracle9isdb is installed,
    then I write
    name oracleServer,
    path c:\oracleServer when i do that i get the following errors.
    There was a problem in accesing the staging area.
    Pleased make sure the specified values for source and destiantion are valid

    Hi,
    actually I can only tell how it worked for me. I unzipped all zips into teh same directory and ended up with
    d:\stage\disk1
    d:\stage\disk2
    d:\stage\disk3
    Then I started the installer from disk 1 and follwoed all teh instructions. I did specify an Oracle Home as OracleAsInfra for the infrastructure to be in d:\OracleAsInfra and similar for teh Midtier OracleAsMidtier to be in d:\OracleAsMidtier
    The rest ran smoothly
    Frank

  • Illustrator Application Window Resizes When Opening Smart Object from PSD

    Hi All, I've taken a vector graphic created in AI CS4 and pasted it into my PSD CS4 doc as a smart object. When the original AI file was created the application window was set as I preferred it, filling my screen. When I double click the Smart Object in PSD to edit it back in Illy, the window that contains the application has been switched off of the fill screen mode and is quite a bit smaller. I know it's small but now I have to click the maximize icon in the application bar to get Illy to fill the screen again. It wouldn't be so bad once, but the application window resizes itself every time I punch back into the smart object from PSD.
    Any ideas on how I can get the AI environment from switching around on its own??
    Win 7, CS4, all patches current, Dual 22" montiors
    thnx,
    jeff

    I just want to point out that when you open the smart object of course it is not the same file as the original but an embedded copy of it.
    That might also have something to do with this issue and might also be a photoshop issue with the smart object and one reason might be that Photoshop is see the image as resolution and Illustrator sees it as a dimension and the teams might be able to do something about this but might not actually be aware of it unless you file a report even if it is not a bug it would then be a feature request.
    They might not be able to do anything about it but then there might be a clever engineer with an idea, so it might be worth the report.

  • Why are iTunes, View, Window, and Help menu items disabled?

    I am frequently encountering an issue in iTunes 10.5 (141) where all the menu items in the iTunes, View, Window, and Help menus are disabled (greyed out). Why is this happening and can it be stopped?
    I've seen this issue on different Mac OS X 10.7.2 machines. It seems to occur during playlist manipulation, where I'm making new playlists, adding items to them and editing them and the items. In the worst cases, I'm forced to quit and restart iTunes, although I have to quit by using the context menu option in the Dock as the Quit option is disabled in the application.
    I'd appreciate any advice on workarounds for this that don't involve quitting and restarting iTunes.

    I'm also having the same issue.  It was happening with 10.5.1 and now still with 10.5.2.  I'm using a 2008 iMac running 10.6.8.  I do not use iTunes Match.  This seems to happen for no apparent reason i/o/w, I can't determine a pattern as to when it happens, but it occurs about once in every 10 times that iTunes is open and it seems to happen after it's been open for a while, but again, no particular pattern. 
    Sometimes, all the menu items are grayed out, and other times, 70% of the menu items are grayed out.  I can still use the other functionality in iTunes, but must must Quit from the dock (it quits gracefully and no Force Quit is necessary).  Relaunching restores eveything to normal for about a week. 
    I work with technical diagnostic issues and can usually pinpoint a problem, isolate an issue, or determine a pattern, but this one has me stumped. I thought 10.5.2 might fix it, but no.  Maybe 10.5.3?

  • Any Time I Open iTunes My Computer Comes Up With A Message Saying "Data Execution Prevention - Mircosoft Windows To Help Protect Your Computer, Windows Has Closed This Program" We Have Trend Micro Internet Security Titanium.

    Any Time I Open iTunes My Computer Comes Up With A Message Saying "Data Execution Prevention - Mircosoft Windows To Help Protect Your Computer, Windows Has Closed This Program" We Have Trend Micro Internet Security Titanium But It Appears To Be Windows Stopping iTunes.

    Right click My Computer > Properties > Advanced > Performance: Settings > Data Execution Prevention > Add iTunes to be let through

  • HT201250 My Hallmark Card Software won't open  - I get a message that says "Restore Window" .  Help please.

    My Hallmark Card Software won't open  - I get a message that says "Restore Window" .  Help please.

    Hello Fred5960
    If you are having issues with connecting to the internet then check out the articles below to troubleshoot your issue.
    Troubleshooting "A connection failure has occurred", "The specified server could not be found" or similar messages
    http://support.apple.com/kb/ts1843
    Wi-Fi: How to troubleshoot Wi-Fi connectivity
    http://support.apple.com/kb/HT4628
    Regards,
    -Norm G.

Maybe you are looking for

  • Closing the browser with a single click from form

    Hi All, Will u please help me anyone how to close the browser with a single click pressing exit button or closing the cross buton. Arif

  • Up graded to yosemite, imac no longer see's Canon 7d.

    I used iphoto in the week to down load some pics as normal. Upgraded to Yosemite a day or so later. I can no longer see my Canon 7d auto on  my imac. The auto update updated iphoto also. Yosemite Version 10.10.1 - iphoto Version 9.6 (910.29). How can

  • Creation of ASM disk for OUI

    I need to install a Oracle Database in order to install Enterprise Manager Cloud Control 12c. Need the database to use a ASM disk. I used the following command to create the disk, per the Oracle Database Installation Guide. #/usr/sbin/oracleasm creat

  • A few conference call questions

    If I make a conference call, it will take double the minutes right? I am essentially making two calls. If I make this conference call at night (I have the lowest plan with 450any/5000n&w), it will take double the minutes from the 5000, right? Thanks.

  • Best camcorder for use with iMovie 08?

    Yes. I have done a search. I would like to find a good quality camcorder, preferably hard drive, that I can also use to record directly onto iMovie 08 (like you can with the built-in camera). Help. Any ideas would be welcome. Sadly I bought a Sony DC