lib/knj/gtk2_tv.rb in knjrbfw-0.0.79 vs lib/knj/gtk2_tv.rb in knjrbfw-0.0.80
- old
+ new
@@ -79,9 +79,13 @@
[:min_width, :max_width, :fixed_width, :expand, :spacing, :reorderable].each do |arg|
col.__send__("#{arg}=", args[arg]) if args.key?(arg)
end
+ [:width_chars, :wrap_mode, :wrap_width].each do |arg|
+ renderer.__send__("#{arg}=", args[arg]) if args.key?(arg)
+ end
+
tv.append_column(col)
ret[:renderers] << renderer
count += 1
end
\ No newline at end of file