Skip to content

Commit

Permalink
HeaderLabel: wrap title, halign FILL
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Apr 1, 2024
1 parent 5484549 commit f6585f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Widgets/HeaderLabel.vala
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ public class Granite.HeaderLabel : Gtk.Widget {

construct {
var label_widget = new Gtk.Label (label) {
wrap = true,
xalign = 0
};
label_widget.add_css_class ("heading");
label_widget.set_parent (this);

halign = Gtk.Align.START;
((Gtk.BoxLayout) get_layout_manager ()).orientation = Gtk.Orientation.VERTICAL;

bind_property ("label", label_widget, "label");
Expand Down

0 comments on commit f6585f2

Please sign in to comment.