File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -177,13 +177,14 @@ public class Maya.View.EventEdition.InfoPanel : Gtk.Grid {
177177 parent_dialog. source = calchooser. current_source;
178178 }
179179
180- comment_textview = new Granite .HyperTextView ();
181- comment_textview.set_wrap_mode (Gtk .WrapMode .WORD_CHAR );
182- comment_textview. accepts_tab = false ;
183- comment_textview.set_border_window_size (Gtk .TextWindowType .LEFT , 2 );
184- comment_textview.set_border_window_size (Gtk .TextWindowType .RIGHT , 2 );
185- comment_textview.set_border_window_size (Gtk .TextWindowType .TOP , 2 );
186- comment_textview.set_border_window_size (Gtk .TextWindowType .BOTTOM , 2 );
180+ comment_textview = new Granite .HyperTextView () {
181+ accepts_tab = false ,
182+ wrap_mode = WORD_CHAR ,
183+ top_margin = 3 ,
184+ right_margin = 3 ,
185+ bottom_margin = 3 ,
186+ left_margin = 3 ,
187+ };
187188
188189 var comment_label = new Granite .HeaderLabel (_(" Comments:" )) {
189190 mnemonic_widget = comment_textview
You can’t perform that action at this time.
0 commit comments