lib/fidgit/elements/label.rb in fidgit-0.0.6alpha vs lib/fidgit/elements/label.rb in fidgit-0.1.0

- old
+ new

@@ -39,9 +39,11 @@ raise "Justification must be one of #{VALID_JUSTIFICATION.inspect}" unless VALID_JUSTIFICATION.include? options[:justify] @justify = options[:justify] super(options) + + self.text = text # Forces stuff that manipulates text to work. end def draw_foreground current_x = x + padding_left if @icon \ No newline at end of file