Skip to content

Commit

Permalink
Removed need for Core Animation by using proper background style on l…
Browse files Browse the repository at this point in the history
…abels in textured area
  • Loading branch information
benstiglitz committed Mar 12, 2008
1 parent 52ba1b1 commit c5a3bf7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ApplicationController.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class ApplicationController < OSX::NSObject
ib_outlet :main_canvas
ib_outlet :main_view
ib_outlet :info_button
ib_outlet :branch_field

def applicationDidFinishLaunching(sender)
@window.makeKeyAndOrderFront(self)
Expand All @@ -48,6 +49,8 @@ def awakeFromNib

@main_view.setFrameSize(@main_canvas.frame.size)
@main_canvas.addSubview(@main_view)

@branch_field.cell.setBackgroundStyle(NSBackgroundStyleRaised)
end

ib_action :show_info_panel
Expand Down

0 comments on commit c5a3bf7

Please sign in to comment.