[gnome-calculator] Fixed black rectangle on entry scrolling (bgo#793157)
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] Fixed black rectangle on entry scrolling (bgo#793157)
- Date: Sun, 4 Feb 2018 07:47:16 +0000 (UTC)
commit 9de5ce309d8c3ac2c68654eb1433e4d00fbd226c
Author: Robert Roth <robert roth off gmail com>
Date: Sun Feb 4 09:47:01 2018 +0200
Fixed black rectangle on entry scrolling (bgo#793157)
src/calculator.css | 3 +--
src/history-view.ui | 1 -
src/math-display.vala | 1 +
3 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/calculator.css b/src/calculator.css
index 2b0d4a9..4b86070 100644
--- a/src/calculator.css
+++ b/src/calculator.css
@@ -52,8 +52,7 @@ window > grid {
}
.sourceview {
- padding-left: 12px;
- margin-left: 10px;
+ padding-left: 0px;
font-size: 1.4em;
}
diff --git a/src/history-view.ui b/src/history-view.ui
index c7f0d63..1b77119 100644
--- a/src/history-view.ui
+++ b/src/history-view.ui
@@ -22,7 +22,6 @@
<property name="can_focus">False</property>
<property name="vexpand">True</property>
<property name="valign">end</property>
- <property name="border_width">5</property>
<property name="selection_mode">none</property>
</object>
</child>
diff --git a/src/math-display.vala b/src/math-display.vala
index fbbe113..69ae0bf 100644
--- a/src/math-display.vala
+++ b/src/math-display.vala
@@ -44,6 +44,7 @@ public class MathDisplay : Gtk.Viewport
scrolled_window.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.NEVER);
source_view = new Gtk.SourceView.with_buffer (equation);
source_view.set_accepts_tab (false);
+ source_view.set_left_margin (14);
source_view.set_pixels_above_lines (8);
source_view.set_pixels_below_lines (2);
source_view.set_justification (Gtk.Justification.LEFT);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]