Code Monkey home page Code Monkey logo

Comments (6)

amankhoza avatar amankhoza commented on August 16, 2024

Similar to #28, gap is gone now but white trim remains.

from drop-down-terminal-x.

daleosm avatar daleosm commented on August 16, 2024

This is still occurring on Pop_OS! with both the current git and gnome extensions channels. I will fix it myself and post it.

from drop-down-terminal-x.

bigbn avatar bigbn commented on August 16, 2024

Approved, I saw this on clean ubuntu install

from drop-down-terminal-x.

bigbn avatar bigbn commented on August 16, 2024

The reason is custom theme. With adwaita there is no any borders even in ubuntu.

from drop-down-terminal-x.

amankhoza avatar amankhoza commented on August 16, 2024

The reason is custom theme. With adwaita there is no any borders even in ubuntu.

If you look carefully even with Adwaita (first image) there is still a trim but it is less apparent, but the exact same problem is present, see the screenshots I have attached. The second screenshot is a custom theme (materia) where the trim is more apparent because of the different opacity level of the background in the custom theme. So the problem appears to be theme independent.

ddt_adwaita
ddt_customtheme

from drop-down-terminal-x.

amankhoza avatar amankhoza commented on August 16, 2024
commit 53e0bc97b122b0d810adffb9c358e7caae2989a6
Author: Aman Khosa <[email protected]>
Date:   Thu Oct 10 23:39:00 2019 +0100

    Tweak padding

diff --git a/[email protected]/extension.js b/[email protected]/extension.js
index e909cc0..be6755f 100644
--- a/[email protected]/extension.js
+++ b/[email protected]/extension.js
@@ -597,10 +597,10 @@ const DropDownTerminalXExtension = new Lang.Class({
         break
     }
 
-    this._windowX = this._windowX + leftPadding
-    this._windowY = this._windowY + topPadding
-    this._windowWidth = this._windowWidth - leftPadding - rightPadding
-    this._windowHeight = this._windowHeight - topPadding - bottomPadding
+    this._windowX = this._windowX + leftPadding - 1
+    this._windowY = this._windowY + topPadding - 1
+    this._windowWidth = this._windowWidth - leftPadding - rightPadding + 2
+    this._windowHeight = this._windowHeight - topPadding - bottomPadding + 2
 
     // applies the change dynamically if the terminal is already spawn
     if (this._busProxy !== null && this._windowHeight !== null) {

This quick hack removes the trim, so the problem is likely near this part of the code.

from drop-down-terminal-x.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.