Replace deprecated margin proporties

This commit is contained in:
Rafostar
2020-09-18 13:11:24 +02:00
parent be359ab27a
commit 21de7e7bfd
2 changed files with 4 additions and 4 deletions

View File

@@ -24,8 +24,8 @@ var Controls = GObject.registerClass({
_init() _init()
{ {
super._init({ super._init({
margin_left: CONTROLS_MARGIN, margin_start: CONTROLS_MARGIN,
margin_right: CONTROLS_MARGIN, margin_end: CONTROLS_MARGIN,
spacing: CONTROLS_SPACING, spacing: CONTROLS_SPACING,
valign: Gtk.Align.END, valign: Gtk.Align.END,
}); });

View File

@@ -158,13 +158,13 @@ class ClapperRevealerTop extends CustomRevealer
ellipsize: Pango.EllipsizeMode.END, ellipsize: Pango.EllipsizeMode.END,
expand: true, expand: true,
margin_top: 14, margin_top: 14,
margin_left: 12, margin_start: 12,
xalign: 0, xalign: 0,
yalign: 0, yalign: 0,
}); });
let timeLabelOpts = { let timeLabelOpts = {
margin_right: 10, margin_end: 10,
xalign: 1, xalign: 1,
yalign: 0, yalign: 0,
}; };