lib/shoes/swt/text_block/painter.rb in shoes-swt-4.0.0.pre2 vs lib/shoes/swt/text_block/painter.rb in shoes-swt-4.0.0.pre3

- old
+ new

@@ -28,18 +28,18 @@ private def default_text_styles { - :fg => @style[:fg], - :bg => @style[:bg], - :strikecolor => @style[:strikecolor], - :undercolor => @style[:undercolor], - :font_detail => { - :name => @dsl.font, - :size => @dsl.size, - :styles => [::Swt::SWT::NORMAL] - } + fg: @style[:fg], + bg: @style[:bg], + strikecolor: @style[:strikecolor], + undercolor: @style[:undercolor], + font_detail: { + name: @dsl.font, + size: @dsl.size, + styles: [::Swt::SWT::NORMAL] + } } end end end end