Skip to content

Commit

Permalink
Style Code
Browse files Browse the repository at this point in the history
  • Loading branch information
torikulhabib committed Jul 1, 2024
1 parent f0175dc commit c0f68c9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions src/GdmMenu.vala
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ namespace Gabut {
this.downloadmenu = downloadmenu;
halign = Gtk.Align.CENTER;
var title = new Gtk.Label (downloadmenu.to_string ()) {
halign = Gtk.Align.START,
wrap_mode = Pango.WrapMode.WORD_CHAR,
attributes = set_attribute (Pango.Weight.BOLD),
xalign = 0,
margin_top = 6,
margin_start = 6,
margin_bottom = 6,
width_request = 130
width_request = 100,
valign = Gtk.Align.START,
wrap_mode = Pango.WrapMode.WORD_CHAR,
attributes = set_attribute (Pango.Weight.BOLD)
};
var imgstatus = new Gtk.Image () {
valign = Gtk.Align.CENTER,
Expand Down
10 changes: 6 additions & 4 deletions src/OpenMenu.vala
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ namespace Gabut {
this.openmn = openmn;
halign = Gtk.Align.CENTER;
var title = new Gtk.Label (openmn.to_string ()) {
halign = Gtk.Align.START,
wrap_mode = Pango.WrapMode.WORD_CHAR,
attributes = set_attribute (Pango.Weight.BOLD),
xalign = 0,
margin_top = 6,
margin_start = 6,
margin_bottom = 6,
width_request = 130
width_request = 100,
valign = Gtk.Align.START,
wrap_mode = Pango.WrapMode.WORD_CHAR,
attributes = set_attribute (Pango.Weight.BOLD)
};
var imgstatus = new Gtk.Image () {
valign = Gtk.Align.CENTER,
Expand Down

0 comments on commit c0f68c9

Please sign in to comment.