You are not logged in.
Pages: 1
HI guys..
On my system mousepad appears with a white border around the edges of the window. Is there any way I can remove this border :? Please see the screenshots attached below & many thanks in advanced for replying....
Offline
Have you removed all window decorations? It looks like a window border, but just in case...
Does this happen with any other applications?
Unfortunately, mousepad doesn't have an overriding style class defined that you could target just it:
You could try the following in ~/.config/gtk-3.0/gtk.css:
box { background-color: #ff0000; }
...and if the light colour changes to red you'll know that's it. Then you can change the colour to suit.
However, note that this will affect all box elements on your system.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Have you removed all window decorations? It looks like a window border, but just in case...
Does this happen with any other applications?
Unfortunately, mousepad doesn't have an overriding style class defined that you could target just it:
https://i.ibb.co/rs3vBBD/mousepad.pngYou could try the following in ~/.config/gtk-3.0/gtk.css:
box { background-color: #ff0000; }
...and if the light colour changes to red you'll know that's it. Then you can change the colour to suit.
However, note that this will affect all box elements on your system.
Yea I'm using a theme that has removed all window decorations. I can confirm that it only happens with mousepad & no other applications are affected. You only really notice it whenever you switch to a color scheme with a dark background. I've tried a number of different dark color schemes & they all give the same results. I've added that code to my gtk.css but the white border is still visible. The top & bottom border is now thinner which matches the sides so it doesn't look as bad, but it's still there....
Offline
Try this:
box, notebook { background-color: #ff0000; }
If that doesn't work, move it up to the window level:
window { background-color: #ff0000; }
Double check to see what the effect is on other apps again.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Try this:
box, notebook { background-color: #ff0000; }
If that doesn't work, move it up to the window level:
window { background-color: #ff0000; }
Double check to see what the effect is on other apps again.
Still just thins out the top & bottom borders around the window to match the sides. Though using window appears to only affect mousepad & not all box elements which is nice. With how thin the border is now I can easily live with it, without it being annoying..
Here's a screenshot showing mousepad, xfce4-terminal & thunar.....
Offline
How about:
scrolledwindow { border-width: 0px; }
Edit:
I can't replicate this on my system. Which distro and which version of mousepad are you running?
Last edited by ToZ (2020-08-06 14:35:09)
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
How about:
scrolledwindow { border-width: 0px; }
Edit:
I can't replicate this on my system. Which distro and which version of mousepad are you running?
That done it Thank you soooo much For reference I'm running Xubuntu 18.04 with mousepad version_0.4.0, but can confirm that it's now fixed thanks to that code. Again thank you....
Last edited by furycd001 (2020-08-06 14:48:45)
Offline
Pages: 1
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 548.09 KiB (Peak: 548.94 KiB) ]