[Konsole-devel] [konsole] [Bug 346450] New: Remove 1px margin [patch included]

Josef Kufner jk at frozen-doe.net
Tue Apr 21 22:27:25 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=346450

            Bug ID: 346450
           Summary: Remove 1px margin [patch included]
           Product: konsole
           Version: unspecified
          Platform: Debian unstable
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: jk at frozen-doe.net

There is 1px black margin around terminal view. Because of this margin nice
fonts like Terminus do not fill screen completely, leaving few pixels margin in
bottom and right edge of the screen. I found it very annoying :(

The 1px margin is hardcoded, here is how to remove it:

--cut--
--- a/ViewManager.cpp
+++ b/ViewManager.cpp
@@ -854,7 +854,7 @@ void ViewManager::applyProfileToView(TerminalDisplay* view
, const Profile::Ptr
         view->setMiddleClickPasteMode(Enum::PasteFromClipboard);

     // margin/center - these are hard-fixed ATM
-    view->setMargin(1);
+    view->setMargin(0);
     view->setCenterContents(false);

     // cursor shape
--cut--

(source code was obtained from Debian repo: apt-get source konsole; version is
4.14.2)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list