lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 7e6a56c 8/8: Use style wxSP_ARROW_KEYS for al


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 7e6a56c 8/8: Use style wxSP_ARROW_KEYS for all spin controls
Date: Fri, 4 May 2018 16:57:03 -0400 (EDT)

branch: master
commit 7e6a56c4d19990034c80d38f080388c699dffd94
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Use style wxSP_ARROW_KEYS for all spin controls
    
    The intention was merely to change the default alignment of numeric
    contents to left (instead of the default right) for concinnity between
    spin controls and text controls. Specifying style wxALIGN_LEFT would
    have done that, but it also would have cancelled the wxSP_ARROW_KEYS
    behavior that seems to be a default. However, specifying wxSP_ARROW_KEYS
    alone produces left alignment.
---
 gpt.xrc                 |  1 +
 mec.xrc                 |  1 +
 preferences_view.xrc    |  1 +
 skin.xrc                | 11 +++++++++++
 skin_coli_boli.xrc      | 11 +++++++++++
 skin_group_carveout.xrc |  9 +++++++++
 skin_single_premium.xrc |  4 ++++
 7 files changed, 38 insertions(+)

diff --git a/gpt.xrc b/gpt.xrc
index 276b445..bc7bec3 100644
--- a/gpt.xrc
+++ b/gpt.xrc
@@ -319,6 +319,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                                     <object class="wxSpinCtrl" name="IssueAge">
                                         <help>Insurance age on date of 
issue</help>
                                         <size>80,-1</size>
+                                        <style>wxSP_ARROW_KEYS</style>
                                     </object>
                                 </object>
                                 <object class="sizeritem">
diff --git a/mec.xrc b/mec.xrc
index a8424b5..63e9fd2 100644
--- a/mec.xrc
+++ b/mec.xrc
@@ -351,6 +351,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                                     <object class="wxSpinCtrl" name="IssueAge">
                                         <help>Insurance age on date of 
issue</help>
                                         <size>80,-1</size>
+                                        <style>wxSP_ARROW_KEYS</style>
                                     </object>
                                 </object>
                                 <object class="sizeritem">
diff --git a/preferences_view.xrc b/preferences_view.xrc
index 0858cb6..c9a100d 100644
--- a/preferences_view.xrc
+++ b/preferences_view.xrc
@@ -287,6 +287,7 @@
                     <flag>wxGROW</flag>
                     <object class="wxSpinCtrl" 
name="SecondsToPauseBetweenPrintouts">
                         <help>Number of seconds to pause between batched 
printouts, to prevent the printer from scrambling their order</help>
+                        <style>wxSP_ARROW_KEYS</style>
                     </object>
                 </object>
             </object>
diff --git a/skin.xrc b/skin.xrc
index 10b711e..ca1e25e 100644
--- a/skin.xrc
+++ b/skin.xrc
@@ -607,6 +607,7 @@
                                     <flag>wxGROW</flag>
                                     <object class="wxSpinCtrl" 
name="SurviveToAge">
                                         <help>Partial mortality survival age 
limit</help>
+                                        <style>wxSP_ARROW_KEYS</style>
                                         <max>100</max>
                                     </object>
                                 </object>
@@ -620,6 +621,7 @@
                                     <flag>wxGROW</flag>
                                     <object class="wxSpinCtrl" 
name="SurviveToYear">
                                         <help>Partial mortality survival year 
limit</help>
+                                        <style>wxSP_ARROW_KEYS</style>
                                         <max>100</max>
                                         <value>99</value>
                                     </object>
@@ -1117,6 +1119,7 @@
                                     <object class="wxSpinCtrl" name="IssueAge">
                                         <help>Insurance age on date of 
issue</help>
                                         <size>80,-1</size>
+                                        <style>wxSP_ARROW_KEYS</style>
                                     </object>
                                 </object>
                                 <object class="sizeritem">
@@ -1130,6 +1133,7 @@
                                     <object class="wxSpinCtrl" 
name="RetirementAge">
                                         <help>Insurance age on date of 
retirement</help>
                                         <size>80,-1</size>
+                                        <style>wxSP_ARROW_KEYS</style>
                                     </object>
                                 </object>
                             </object>
@@ -1953,6 +1957,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                                                     <object class="wxSpinCtrl" 
name="SolveBeginYear">
                                                         <help>Solve beginning 
duration</help>
                                                         <size>20,-1</size>
+                                                        
<style>wxSP_ARROW_KEYS</style>
                                                         <max>100</max>
                                                         <value>99</value>
                                                     </object>
@@ -1969,6 +1974,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                                                     <object class="wxSpinCtrl" 
name="SolveBeginTime">
                                                         <help>Solve beginning 
age</help>
                                                         <size>20,-1</size>
+                                                        
<style>wxSP_ARROW_KEYS</style>
                                                         <max>100</max>
                                                         <value>99</value>
                                                     </object>
@@ -2013,6 +2019,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                                                     <object class="wxSpinCtrl" 
name="SolveEndYear">
                                                         <help>Solve ending 
duration</help>
                                                         <size>20,-1</size>
+                                                        
<style>wxSP_ARROW_KEYS</style>
                                                         <max>100</max>
                                                         <value>99</value>
                                                     </object>
@@ -2029,6 +2036,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                                                     <object class="wxSpinCtrl" 
name="SolveEndTime">
                                                         <help>Solve ending 
age</help>
                                                         <size>20,-1</size>
+                                                        
<style>wxSP_ARROW_KEYS</style>
                                                         <max>100</max>
                                                         <value>99</value>
                                                     </object>
@@ -2073,6 +2081,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                                                     <object class="wxSpinCtrl" 
name="SolveTargetYear">
                                                         <help>Duration to 
achieve target surrender value</help>
                                                         <size>20,-1</size>
+                                                        
<style>wxSP_ARROW_KEYS</style>
                                                         <max>100</max>
                                                         <value>99</value>
                                                     </object>
@@ -2089,6 +2098,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                                                     <object class="wxSpinCtrl" 
name="SolveTargetTime">
                                                         <help>Attained age to 
achieve target surrender value</help>
                                                         <size>20,-1</size>
+                                                        
<style>wxSP_ARROW_KEYS</style>
                                                         <max>100</max>
                                                         <value>99</value>
                                                     </object>
@@ -2953,6 +2963,7 @@ the other is perforce ignored.
                                     <object class="wxSpinCtrl" 
name="SpouseIssueAge">
                                         <help>Spouse's insurance age on date 
of issue</help>
                                         <size>50,-1</size>
+                                        <style>wxSP_ARROW_KEYS</style>
                                     </object>
                                 </object>
                             </object>
diff --git a/skin_coli_boli.xrc b/skin_coli_boli.xrc
index f74e44c..3ed7bc5 100644
--- a/skin_coli_boli.xrc
+++ b/skin_coli_boli.xrc
@@ -641,6 +641,7 @@
                                     <object class="wxSpinCtrl" 
name="SurviveToAge">
                                         <help>Partial mortality survival age 
limit</help>
                                         <size>30,-1d</size>
+                                        <style>wxSP_ARROW_KEYS</style>
                                     </object>
                                 </object>
                                 <object class="sizeritem">
@@ -649,6 +650,7 @@
                                     <object class="wxSpinCtrl" 
name="SurviveToYear">
                                         <help>Partial mortality survival year 
limit</help>
                                         <size>30,-1d</size>
+                                        <style>wxSP_ARROW_KEYS</style>
                                     </object>
                                 </object>
                             </object>
@@ -970,6 +972,7 @@
                                     <object class="wxSpinCtrl" name="IssueAge">
                                         <help>Insurance age on date of 
issue</help>
                                         <size>80,-1</size>
+                                        <style>wxSP_ARROW_KEYS</style>
                                     </object>
                                 </object>
                                 <object class="sizeritem">
@@ -983,6 +986,7 @@
                                     <object class="wxSpinCtrl" 
name="RetirementAge">
                                         <help>Insurance age on date of 
retirement</help>
                                         <size>80,-1</size>
+                                        <style>wxSP_ARROW_KEYS</style>
                                     </object>
                                 </object>
                             </object>
@@ -2039,6 +2043,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                                             <object class="wxSpinCtrl" 
name="SolveBeginYear">
                                                 <help>Solve beginning 
duration</help>
                                                 <size>50,-1</size>
+                                                <style>wxSP_ARROW_KEYS</style>
                                             </object>
                                         </object>
                                         <object class="sizeritem">
@@ -2062,6 +2067,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                                             <object class="wxSpinCtrl" 
name="SolveBeginTime">
                                                 <help>Solve beginning 
age</help>
                                                 <size>50,-1</size>
+                                                <style>wxSP_ARROW_KEYS</style>
                                             </object>
                                         </object>
                                         <object class="sizeritem">
@@ -2118,6 +2124,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                                             <object class="wxSpinCtrl" 
name="SolveEndYear">
                                                 <help>Solve ending 
duration</help>
                                                 <size>50,-1</size>
+                                                <style>wxSP_ARROW_KEYS</style>
                                             </object>
                                         </object>
                                         <object class="sizeritem">
@@ -2141,6 +2148,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                                             <object class="wxSpinCtrl" 
name="SolveEndTime">
                                                 <help>Solve ending age</help>
                                                 <size>50,-1</size>
+                                                <style>wxSP_ARROW_KEYS</style>
                                             </object>
                                         </object>
                                         <object class="sizeritem">
@@ -2253,6 +2261,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                                                     <object class="wxSpinCtrl" 
name="SolveTargetYear">
                                                         <help>Duration to 
achieve target surrender value</help>
                                                         <size>50,-1</size>
+                                                        
<style>wxSP_ARROW_KEYS</style>
                                                     </object>
                                                 </object>
                                                 <object class="sizeritem">
@@ -2276,6 +2285,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                                                     <object class="wxSpinCtrl" 
name="SolveTargetTime">
                                                         <help>Attained age to 
achieve target surrender value</help>
                                                         <size>50,-1</size>
+                                                        
<style>wxSP_ARROW_KEYS</style>
                                                     </object>
                                                 </object>
                                                 <object class="sizeritem">
@@ -3226,6 +3236,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                             <object class="wxSpinCtrl" name="SpouseIssueAge">
                                 <help>Spouse insurance age on date of 
issue</help>
                                 <size>50,-1</size>
+                                <style>wxSP_ARROW_KEYS</style>
                             </object>
                         </object>
                     </object>
diff --git a/skin_group_carveout.xrc b/skin_group_carveout.xrc
index 2289f20..caad51b 100644
--- a/skin_group_carveout.xrc
+++ b/skin_group_carveout.xrc
@@ -452,6 +452,7 @@
                                     <object class="wxSpinCtrl" name="IssueAge">
                                         <help>Insurance age on date of 
issue</help>
                                         <size>80,-1</size>
+                                        <style>wxSP_ARROW_KEYS</style>
                                     </object>
                                 </object>
                                 <object class="sizeritem">
@@ -465,6 +466,7 @@
                                     <object class="wxSpinCtrl" 
name="RetirementAge">
                                         <help>Insurance age on date of 
retirement</help>
                                         <size>80,-1</size>
+                                        <style>wxSP_ARROW_KEYS</style>
                                     </object>
                                 </object>
                             </object>
@@ -1270,6 +1272,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                                             <object class="wxSpinCtrl" 
name="SolveBeginYear">
                                                 <help>Solve beginning 
duration</help>
                                                 <size>50,-1</size>
+                                                <style>wxSP_ARROW_KEYS</style>
                                             </object>
                                         </object>
                                         <object class="sizeritem">
@@ -1293,6 +1296,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                                             <object class="wxSpinCtrl" 
name="SolveBeginTime">
                                                 <help>Solve beginning 
age</help>
                                                 <size>50,-1</size>
+                                                <style>wxSP_ARROW_KEYS</style>
                                             </object>
                                         </object>
                                         <object class="sizeritem">
@@ -1348,6 +1352,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                                             <object class="wxSpinCtrl" 
name="SolveEndYear">
                                                 <help>Solve ending 
duration</help>
                                                 <size>50,-1</size>
+                                                <style>wxSP_ARROW_KEYS</style>
                                             </object>
                                         </object>
                                         <object class="sizeritem">
@@ -1371,6 +1376,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                                             <object class="wxSpinCtrl" 
name="SolveEndTime">
                                                 <help>Solve ending age</help>
                                                 <size>50,-1</size>
+                                                <style>wxSP_ARROW_KEYS</style>
                                             </object>
                                         </object>
                                         <object class="sizeritem">
@@ -1487,6 +1493,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                                                             <object 
class="wxSpinCtrl" name="SolveTargetYear">
                                                                 <help>Duration 
to achieve target surrender value</help>
                                                                 
<size>50,-1</size>
+                                                                
<style>wxSP_ARROW_KEYS</style>
                                                             </object>
                                                         </object>
                                                         <object 
class="sizeritem">
@@ -1510,6 +1517,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                                                             <object 
class="wxSpinCtrl" name="SolveTargetTime">
                                                                 <help>Attained 
age to achieve target surrender value</help>
                                                                 
<size>50,-1</size>
+                                                                
<style>wxSP_ARROW_KEYS</style>
                                                             </object>
                                                         </object>
                                                         <object 
class="sizeritem">
@@ -2347,6 +2355,7 @@ here, but it looks weird if we don't make this look like 
its siblings.
                     <object class="wxSpinCtrl" name="SpouseIssueAge">
                         <help>Spouse insurance age on date of issue</help>
                         <size>45,-1</size>
+                        <style>wxSP_ARROW_KEYS</style>
                     </object>
                 </object>
             </object>
diff --git a/skin_single_premium.xrc b/skin_single_premium.xrc
index dda2985..a7ba890 100644
--- a/skin_single_premium.xrc
+++ b/skin_single_premium.xrc
@@ -264,6 +264,7 @@
                                     <border>4</border>
                                     <object class="wxSpinCtrl" 
name="SurviveToAge">
                                         <help>Partial mortality survival age 
limit</help>
+                                        <style>wxSP_ARROW_KEYS</style>
                                         <max>100</max>
                                     </object>
                                 </object>
@@ -278,6 +279,7 @@
                                     <flag>wxGROW</flag>
                                     <object class="wxSpinCtrl" 
name="SurviveToYear">
                                         <help>Partial mortality survival year 
limit</help>
+                                        <style>wxSP_ARROW_KEYS</style>
                                         <max>100</max>
                                         <value>99</value>
                                     </object>
@@ -772,6 +774,7 @@ appropriate input.
                                     <object class="wxSpinCtrl" name="IssueAge">
                                         <help>Insurance age on date of 
issue</help>
                                         <size>80,-1</size>
+                                        <style>wxSP_ARROW_KEYS</style>
                                     </object>
                                 </object>
                                 <object class="sizeritem">
@@ -785,6 +788,7 @@ appropriate input.
                                     <object class="wxSpinCtrl" 
name="RetirementAge">
                                         <help>Insurance age on date of 
retirement</help>
                                         <size>80,-1</size>
+                                        <style>wxSP_ARROW_KEYS</style>
                                     </object>
                                 </object>
                             </object>



reply via email to

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