# 2021-01-18 #「Zim」- 滚动条覆盖末行文本

问题描述

在 SourceView 中,水平滚动条会覆盖末行文本。

问题原因

该问题这与 GTK 3 实现相关。

解决方法

1)通过修改代码,永远显示水平滚动条(Eclipse 也是这样处理的,在 2020-12 中,水平与垂直滚动条默认是显示的)
正如 SourceView: the horizontal scrollbar covers the last line. · Issue #1342 所述

2)使用环境变量 GTK_OVERLAY_SCROLLING=1 来启动应用(当鼠标悬浮于滚动条时,才显示,但效果不好):

GTK_OVERLAY_SCROLLING=1 zim

参考文献

WikiNotes/滚动条覆盖末行文本
SourceView: the horizontal scrollbar covers the last line. · Issue #1342
Bug Report - sql editor scrollbars hides last row · Issue #4839
Horizontal scroll bar thickness · Issue #1570
add empty space bottom in table view. because there are horizontal scrollbar · Issue #8484

猜你喜欢

转载自blog.csdn.net/u013670453/article/details/112764721