[gnome-calculator] Show last history entry close to the equation entry (bgo#743499)



commit 8bdd80d45dfdb39c8a01d916e94bb2d81865afce
Author: Robert Roth <robert roth off gmail com>
Date:   Thu Oct 20 10:48:21 2016 +0300

    Show last history entry close to the equation entry (bgo#743499)

 data/calculator.css  |    8 ++------
 data/history-view.ui |    1 +
 2 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/data/calculator.css b/data/calculator.css
index 911cd58..e802e6b 100644
--- a/data/calculator.css
+++ b/data/calculator.css
@@ -39,21 +39,17 @@ window > grid {
 .bit-marker-label {
 }
 
-.history-view > .frame > list {
+.history-view {
   background-color: @insensitive_bg_color;
 }
 
 .history-entry {
   background-color: @insensitive_bg_color;
-  border-bottom: 1px groove @borders;
+  border-top: 1px groove @borders;
   padding: 6px 3px;
   font-size: 15px;
 }
 
-  .history-entry:last-child {
-    border-width: 0px;
-  }
-
   .history-entry .equation-label {
     /* word-spacing: 2px; Doesn't work (yet) in GTK */
   }
diff --git a/data/history-view.ui b/data/history-view.ui
index 0439f36..d2a87ad 100644
--- a/data/history-view.ui
+++ b/data/history-view.ui
@@ -19,6 +19,7 @@
             <property name="visible">True</property>
             <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>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]