lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 1fe322c 1/3: Move page number and system vers


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 1fe322c 1/3: Move page number and system version up slightly in group quotes
Date: Tue, 25 Sep 2018 06:45:10 -0400 (EDT)

branch: master
commit 1fe322cb9e08173bc178119a5585e0ca781f6a4a
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Move page number and system version up slightly in group quotes
    
    This information is written in the 24-point margin at the bottom of
    each page. Aligning it at the bottom of that margin made it somewhat
    difficult to photocopy physical output; this commit instead aligns
    it vertically in the center of the bottom page margin.
---
 group_quote_pdf_gen_wx.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/group_quote_pdf_gen_wx.cpp b/group_quote_pdf_gen_wx.cpp
index 787fd41..af89bd3 100644
--- a/group_quote_pdf_gen_wx.cpp
+++ b/group_quote_pdf_gen_wx.cpp
@@ -837,13 +837,13 @@ void 
group_quote_pdf_generator_wx::output_page_number_and_version
     pdf_dc.DrawLabel
         (wxString::Format("System version: %s", LMI_VERSION)
         ,footer_area
-        ,wxALIGN_LEFT | wxALIGN_BOTTOM
+        ,wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL
         );
 
     pdf_dc.DrawLabel
         (wxString::Format("Page %d of %d", current_page, total_pages)
         ,footer_area
-        ,wxALIGN_RIGHT | wxALIGN_BOTTOM
+        ,wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL
         );
 }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]