• 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
Re: Idea on how to implement a concept...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Idea on how to implement a concept...


  • Subject: Re: Idea on how to implement a concept...
  • From: Graham Cox <email@hidden>
  • Date: Sun, 9 Nov 2008 12:37:02 +1100


On 9 Nov 2008, at 4:22 am, Jean-Nicolas Jolivet wrote:

The problem is, I don't really have enough "room" or space in my application window to display a rectangle that big... so I'm not sure how I could do it... ? Perhaps with a floating panel that gets resized when my slider is dragged?? Or is there a way that I can draw a rectangle or something "in front" or "over" all of my window's controls, and hide that rectangle once the slider is released??

I'm not really looking for exact code, but more for ideas on how to implement something like that...


Keep it simple: why not just use two text fields, for width and height. The user can then drag the slider or simply type in the sizes they want. For bonus points, add a checkbox to preserve aspect ratio... While not as 'exciting' as a rectangle preview, it's probably more useful. Additional feedback such as the amount the image is going to be scaled by might be an idea too (e.g. '1.5x', '2.3x', etc)

Incidentally, in most interfaces where I have a value that is changed, I use the triple whammy - slider, text field and stepper, all setting the same thing. Then the user can't really complain that they don't have options ;-)

--Graham
_______________________________________________

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


References: 
 >Idea on how to implement a concept... (From: Jean-Nicolas Jolivet <email@hidden>)

  • Prev by Date: Re: Idea on how to implement a concept...
  • Next by Date: Re: ObjC data structure for C++/ObjC++ objects?
  • Previous by thread: Re: Idea on how to implement a concept...
  • Next by thread: Crash in NSFileManager
  • Index(es):
    • Date
    • Thread