mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 08:21:59 +02:00
Replace deprecated margin proporties
This commit is contained in:
4
clapper_src/controls.js
vendored
4
clapper_src/controls.js
vendored
@@ -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,
|
||||||
});
|
});
|
||||||
|
@@ -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,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user