mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 08:21:59 +02:00
Improve position scale alignment in fullscreen
This commit is contained in:
8
clapper_src/controls.js
vendored
8
clapper_src/controls.js
vendored
@@ -202,13 +202,6 @@ var Controls = GObject.registerClass({
|
||||
visible: false,
|
||||
});
|
||||
|
||||
this.togglePlayButton.bind_property('margin_top',
|
||||
this.positionScale, 'margin_top', GObject.BindingFlags.SYNC_CREATE
|
||||
);
|
||||
this.togglePlayButton.bind_property('margin_bottom',
|
||||
this.positionScale, 'margin_bottom', GObject.BindingFlags.SYNC_CREATE
|
||||
);
|
||||
|
||||
this.positionScale.add_css_class('positionscale');
|
||||
this.positionScale.connect('value-changed', this._onPositionScaleValueChanged.bind(this));
|
||||
|
||||
@@ -224,6 +217,7 @@ var Controls = GObject.registerClass({
|
||||
let box = new Gtk.Box({
|
||||
orientation: Gtk.Orientation.HORIZONTAL,
|
||||
hexpand: true,
|
||||
valign: Gtk.Align.CENTER,
|
||||
can_focus: false,
|
||||
});
|
||||
box.append(this.positionScale);
|
||||
|
Reference in New Issue
Block a user