linuxmint / xed

X-Apps [Text] Editor (Cross-DE, backward-compatible, GTK3, traditional UI)
GNU General Public License v2.0
459 stars 85 forks source link

The horizontal scrollbar covers the last line. #629

Open HT-7 opened 10 months ago

HT-7 commented 10 months ago

Xed 3.2.7 on Mint 21.

Issue

The horizontal scroll bar which auto-unhides when the mouse goes over it does cover the last line.

Steps to reproduce

Expected behaviour Please either make the scrollbar fixed or leave a padding at the bottom of the text area.

okaestne commented 5 months ago

This could be fixed by disabling the overlay-scrollbars.

diff --git a/xed/resources/ui/xed-view-frame.ui b/xed/resources/ui/xed-view-frame.ui
index af7efa0..ea09d17 100644
--- a/xed/resources/ui/xed-view-frame.ui
+++ b/xed/resources/ui/xed-view-frame.ui
@@ -18,6 +18,7 @@
             <property name="shadow_type">none</property>
             <property name="hexpand">True</property>
             <property name="vexpand">True</property>
+            <property name="overlay_scrolling">False</property>
             <child>
               <object class="XedView" id="view">
                 <property name="visible">True</property>

It just doesn't look as neat...