Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The horizontal scrollbar covers the last line. #629

Open
HT-7 opened this issue Jan 21, 2024 · 1 comment
Open

The horizontal scrollbar covers the last line. #629

HT-7 opened this issue Jan 21, 2024 · 1 comment

Comments

@HT-7
Copy link

HT-7 commented Jan 21, 2024

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

  • Write many characters without spaces until they exceed the width of the text area. This even happens with word wrap activated (perhaps the subject of another issue).
  • Now create as many new lines until the bottom of the text area is reached.
  • Now hover the mouse cursor over the bottom edge of the text area.

Screenshot from 2024-01-21 14-04-44 the horizontal scroll bar covers the bottom line

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

@okaestne
Copy link
Contributor

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants