lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master c1bf4a8 032/156: Adjust position of the right


From: Greg Chicares
Subject: [lmi-commits] [lmi] master c1bf4a8 032/156: Adjust position of the right hand side of the header manually
Date: Tue, 30 Jan 2018 17:22:01 -0500 (EST)

branch: master
commit c1bf4a87624770facaec4f4d83927758330ceb73
Author: Vadim Zeitlin <address@hidden>
Commit: Vadim Zeitlin <address@hidden>

    Adjust position of the right hand side of the header manually
    
    Give 40% of the total width to this column instead of default 50% to
    move it to the right. This is rather ugly, but there doesn't seem to be
    any way to right-align a table column while left-aligning text inside it
    in wxHTML.
---
 ledger_pdf_generator_wx.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ledger_pdf_generator_wx.cpp b/ledger_pdf_generator_wx.cpp
index 373dfdb..0ede1c1 100644
--- a/ledger_pdf_generator_wx.cpp
+++ b/ledger_pdf_generator_wx.cpp
@@ -846,8 +846,8 @@ Rate Classification: {{UWClass}}, {{Smoker}}, {{Gender}}
                 [attr::cellpadding("0")]
                 [attr::valign("top")]
                 (tag::tr
-                    (tag::td(lhs_html))
-                    (tag::td(rhs_html))
+                    (tag::td[attr::width("60%")](lhs_html))
+                    (tag::td[attr::width("40%")](rhs_html))
                 )
             )
         ;



reply via email to

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