You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw how there's a small gap in between the terminal and the Gnome top panel when I use 2x zoom for a high DPI display and saw some of the solutions in the previous issues, but they didn't seem to be working.
I went into extension.js and changed the line so it becomes this._windowY / 2 instead, and it seems to fix it for my 2x display, but unfortunately, if I switch to 1x/normal zoom, the terminal ends up being out of place since it's partially covered by the top bar now.
// applies the change dynamically if the terminal is already spawn
if (this._busProxy !== null && this._windowHeight !== null) {
this._busProxy.SetGeometryRemote(this._windowX, this._windowY / 2, this._windowWidth, this._windowHeight);
// this._busProxy.SetGeometryRemote(this._windowX, this._windowY, this._windowWidth, this._windowHeight);
} else if (this._windowActor != null) {
this._windowActor.set_position(this._windowX, this._windowY);
}
Does anyone know how to check if it's on 1x or 2x zoom in the JS file? I'd like to add an if statement that either sets the second argument to this._windowY or this._windowY / 2 depending on the zoom setting.
The text was updated successfully, but these errors were encountered:
I saw how there's a small gap in between the terminal and the Gnome top panel when I use 2x zoom for a high DPI display and saw some of the solutions in the previous issues, but they didn't seem to be working.
I went into
extension.js
and changed the line so it becomesthis._windowY / 2
instead, and it seems to fix it for my 2x display, but unfortunately, if I switch to 1x/normal zoom, the terminal ends up being out of place since it's partially covered by the top bar now.Does anyone know how to check if it's on 1x or 2x zoom in the JS file? I'd like to add an if statement that either sets the second argument to
this._windowY
orthis._windowY / 2
depending on the zoom setting.The text was updated successfully, but these errors were encountered: