[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 27da585: Make birthdate and age controls a li
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 27da585: Make birthdate and age controls a little less wide |
Date: |
Thu, 3 May 2018 20:08:39 -0400 (EDT) |
branch: master
commit 27da585988e13d60f070ea544847c9b12dd940f0
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Make birthdate and age controls a little less wide
Default spincontrol width exceeds default datepicker width, but these
spincontrols are for ages that can't have more than three digits;
therefore, used default datepicker width and set spincontrols to a width
of zero, so that XRC will grow them to the same width as the datepicker.
---
skin.xrc | 3 +++
skin_coli_boli.xrc | 3 +++
skin_group_carveout.xrc | 3 +++
skin_single_premium.xrc | 3 +++
4 files changed, 12 insertions(+)
diff --git a/skin.xrc b/skin.xrc
index 46eef88..a86bdbb 100644
--- a/skin.xrc
+++ b/skin.xrc
@@ -1103,6 +1103,7 @@
<flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxRIGHT</flag>
<object class="wxDatePickerCtrl"
name="DateOfBirth">
<help>Date of birth</help>
+ <size>-1,-1</size>
</object>
</object>
<object class="sizeritem">
@@ -1115,6 +1116,7 @@
<flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxRIGHT</flag>
<object class="wxSpinCtrl" name="IssueAge">
<help>Insurance age on date of
issue</help>
+ <size>0,-1</size>
</object>
</object>
<object class="sizeritem">
@@ -1127,6 +1129,7 @@
<flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxRIGHT</flag>
<object class="wxSpinCtrl"
name="RetirementAge">
<help>Insurance age on date of
retirement</help>
+ <size>0,-1</size>
</object>
</object>
</object>
diff --git a/skin_coli_boli.xrc b/skin_coli_boli.xrc
index 6fd72ed..6684b71 100644
--- a/skin_coli_boli.xrc
+++ b/skin_coli_boli.xrc
@@ -1010,6 +1010,7 @@
<flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxRIGHT</flag>
<object class="wxDatePickerCtrl"
name="DateOfBirth">
<help>Date of birth</help>
+ <size>-1,-1</size>
</object>
</object>
<object class="sizeritem">
@@ -1022,6 +1023,7 @@
<flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxRIGHT</flag>
<object class="wxSpinCtrl" name="IssueAge">
<help>Insurance age on date of
issue</help>
+ <size>0,-1</size>
</object>
</object>
<object class="sizeritem">
@@ -1034,6 +1036,7 @@
<flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxRIGHT</flag>
<object class="wxSpinCtrl"
name="RetirementAge">
<help>Insurance age on date of
retirement</help>
+ <size>0,-1</size>
</object>
</object>
</object>
diff --git a/skin_group_carveout.xrc b/skin_group_carveout.xrc
index 31f3a5a..d6bda3d 100644
--- a/skin_group_carveout.xrc
+++ b/skin_group_carveout.xrc
@@ -438,6 +438,7 @@
<flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxRIGHT</flag>
<object class="wxDatePickerCtrl"
name="DateOfBirth">
<help>Date of birth</help>
+ <size>-1,-1</size>
</object>
</object>
<object class="sizeritem">
@@ -450,6 +451,7 @@
<flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxRIGHT</flag>
<object class="wxSpinCtrl" name="IssueAge">
<help>Insurance age on date of
issue</help>
+ <size>0,-1</size>
</object>
</object>
<object class="sizeritem">
@@ -462,6 +464,7 @@
<flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxRIGHT</flag>
<object class="wxSpinCtrl"
name="RetirementAge">
<help>Insurance age on date of
retirement</help>
+ <size>0,-1</size>
</object>
</object>
</object>
diff --git a/skin_single_premium.xrc b/skin_single_premium.xrc
index 167a3d9..5759989 100644
--- a/skin_single_premium.xrc
+++ b/skin_single_premium.xrc
@@ -758,6 +758,7 @@ appropriate input.
<flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxRIGHT</flag>
<object class="wxDatePickerCtrl"
name="DateOfBirth">
<help>Date of birth</help>
+ <size>-1,-1</size>
</object>
</object>
<object class="sizeritem">
@@ -770,6 +771,7 @@ appropriate input.
<flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxRIGHT</flag>
<object class="wxSpinCtrl" name="IssueAge">
<help>Insurance age on date of
issue</help>
+ <size>0,-1</size>
</object>
</object>
<object class="sizeritem">
@@ -782,6 +784,7 @@ appropriate input.
<flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxRIGHT</flag>
<object class="wxSpinCtrl"
name="RetirementAge">
<help>Insurance age on date of
retirement</help>
+ <size>0,-1</size>
</object>
</object>
</object>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [lmi] master 27da585: Make birthdate and age controls a little less wide,
Greg Chicares <=