[MacRuby] #1338: Can't set origin.x of a NSRect directly
MacRuby
ruby-noreply at macosforge.org
Thu Jun 23 08:19:44 PDT 2011
#1338: Can't set origin.x of a NSRect directly
----------------------------------+-----------------------------------------
Reporter: martin@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone: MacRuby 0.11
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
Comment(by martin@…):
{{{
framework 'Cocoa'
view = NSView.alloc.init
view.frame.origin.x = 5
p view.frame.origin.x => 0.0
view.frame = [5,0,0,0]
p view.frame.origin.x # => 5.0
}}}
Looks like something with accessing structs is broken?
PS.: Sorry for the wrong formatting three times in a row
--
Ticket URL: <http://www.macruby.org/trac/ticket/1338#comment:2>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list