lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] (no subject)


From: Greg Chicares
Subject: [lmi-commits] (no subject)
Date: Sun, 3 Jul 2016 13:19:11 +0000 (UTC)

branch: master
commit 3ca845634558ba65275609827e0c079d7e151163
Author: Gregory W. Chicares <address@hidden>
Date:   Sun Jul 3 12:23:17 2016 +0000

    Override wxListBox default width for 'ProductName'
    
    Specify this listbox's width in all '.xrc' files that use it. The
    default global width is not appropriate. WXXRC can calculate an
    appropriate width dynamically, but does so only if the dialog is
    resized. See:
      http://lists.nongnu.org/archive/html/lmi/2016-07/msg00004.html
    
    Remove references to
      https://savannah.nongnu.org/bugs/?func=detailitem&item_id=13415
    because that wx defect was fixed ten years ago.
---
 gpt.xrc                  |   10 +---------
 mec.xrc                  |   10 +---------
 skin.xrc                 |    1 +
 skin_coli_boli.xrc       |    1 +
 skin_group_carveout.xrc  |    1 +
 skin_group_carveout3.xrc |    1 +
 skin_single_premium.xrc  |    2 +-
 7 files changed, 7 insertions(+), 19 deletions(-)

diff --git a/gpt.xrc b/gpt.xrc
index 2facc80..03d9ecd 100644
--- a/gpt.xrc
+++ b/gpt.xrc
@@ -49,15 +49,7 @@
                     <border>4</border>
                     <object class="wxListBox" name="ProductName">
                         <help>Product</help>
-<!-- WX !! If this "size" line... -->
-                        <size>-1,0</size>
-<!--
-...is deleted, then the dialog is displayed incorrectly: at least with
-msw, at the bottom of the screen, the 'Cancel' button's bottom border
-is not shown, and the 'Help' button isn't shown at all. This seems to
-demonstrate a defect in the wx library. See
-  https://savannah.nongnu.org/bugs/?func=detailitem&item_id=13415
--->
+                        <size>90,-1d</size>
                         <style>wxLB_SINGLE</style>
                     </object>
                 </object>
diff --git a/mec.xrc b/mec.xrc
index f8cbe70..7bc5c99 100644
--- a/mec.xrc
+++ b/mec.xrc
@@ -49,15 +49,7 @@
                     <border>4</border>
                     <object class="wxListBox" name="ProductName">
                         <help>Product</help>
-<!-- WX !! If this "size" line... -->
-                        <size>-1,0</size>
-<!--
-...is deleted, then the dialog is displayed incorrectly: at least with
-msw, at the bottom of the screen, the 'Cancel' button's bottom border
-is not shown, and the 'Help' button isn't shown at all. This seems to
-demonstrate a defect in the wx library. See
-  https://savannah.nongnu.org/bugs/?func=detailitem&item_id=13415
--->
+                        <size>90,-1d</size>
                         <style>wxLB_SINGLE</style>
                     </object>
                 </object>
diff --git a/skin.xrc b/skin.xrc
index 53fdee3..396c839 100644
--- a/skin.xrc
+++ b/skin.xrc
@@ -52,6 +52,7 @@
                     <border>4</border>
                     <object class="wxListBox" name="ProductName">
                         <help>Product</help>
+                        <size>90,-1d</size>
                         <style>wxLB_SINGLE</style>
                     </object>
                 </object>
diff --git a/skin_coli_boli.xrc b/skin_coli_boli.xrc
index 8191835..15e5863 100644
--- a/skin_coli_boli.xrc
+++ b/skin_coli_boli.xrc
@@ -54,6 +54,7 @@
                     <border>2</border>
                     <object class="wxListBox" name="ProductName">
                         <help>Product</help>
+                        <size>90,-1d</size>
                         <style>wxLB_SINGLE</style>
                     </object>
                 </object>
diff --git a/skin_group_carveout.xrc b/skin_group_carveout.xrc
index 7fc4081..fe9364e 100644
--- a/skin_group_carveout.xrc
+++ b/skin_group_carveout.xrc
@@ -54,6 +54,7 @@
                     <border>4</border>
                     <object class="wxListBox" name="ProductName">
                         <help>Product</help>
+                        <size>90,-1d</size>
                         <style>wxLB_SINGLE</style>
                     </object>
                 </object>
diff --git a/skin_group_carveout3.xrc b/skin_group_carveout3.xrc
index 6b1dd99..6c59a0c 100644
--- a/skin_group_carveout3.xrc
+++ b/skin_group_carveout3.xrc
@@ -54,6 +54,7 @@
                     <border>4</border>
                     <object class="wxListBox" name="ProductName">
                         <help>Product</help>
+                        <size>90,-1d</size>
                         <style>wxLB_SINGLE</style>
                     </object>
                 </object>
diff --git a/skin_single_premium.xrc b/skin_single_premium.xrc
index 3c17abe..3b4cdca 100644
--- a/skin_single_premium.xrc
+++ b/skin_single_premium.xrc
@@ -59,7 +59,7 @@
                             <border>4</border>
                             <object class="wxListBox" name="ProductName">
                                 <help>Product</help>
-                                <size>-1,50</size>
+                                <size>90,-1d</size>
                                 <style>wxLB_SINGLE</style>
                             </object>
                         </object>



reply via email to

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