• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Setting BorderThickness moves resize widget?!?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting BorderThickness moves resize widget?!?


  • Subject: Setting BorderThickness moves resize widget?!?
  • From: Knut Lorenzen <email@hidden>
  • Date: Tue, 29 Sep 2009 23:55:52 +0200

Dear List,

please take a look at this image:
<http://Knut.macdisk.de/png/2pixelsapart.png>

(Picture shows my App in front of Safari before/after)

I would like to have a Statusbar in my App and I am using

[mainWindow setContentBorderThickness: 16.0 forEdge: NSMinYEdge];

and

[mainWindow setContentBorderThickness:0.0 forEdge: NSMinYEdge];

respectively, in order to switch between both.

It works fine, but the resize widget moves up 2 pixels when setting ContentBorderThickness.
Please also note, that the rectangular corner becomes rounded when setting ContentBorderThickness and restores to rectangular when setting ContentBorderThickness back to 0.


Cheers,

Knut

___________________________________________________
Dipl.-Phys. Knut Lorenzen
<http://Knut.MacDisk.de>




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Setting BorderThickness moves resize widget?!?
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: NSTableColumn value binding + keypath over a relationship
  • Next by Date: [iPhone] Core Data Application with multiple TableViewControllers
  • Previous by thread: Re: NSTableColumn value binding + keypath over a relationship
  • Next by thread: Re: Setting BorderThickness moves resize widget?!?
  • Index(es):
    • Date
    • Thread