[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [5231] Make "..." button less obtrusive (VS)
From: |
Greg Chicares |
Subject: |
[lmi-commits] [5231] Make "..." button less obtrusive (VS) |
Date: |
Sun, 07 Aug 2011 12:15:34 +0000 |
Revision: 5231
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5231
Author: chicares
Date: 2011-08-07 12:15:33 +0000 (Sun, 07 Aug 2011)
Log Message:
-----------
Make "..." button less obtrusive (VS)
Modified Paths:
--------------
lmi/trunk/ChangeLog
lmi/trunk/input_sequence_entry.cpp
Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2011-08-07 12:02:42 UTC (rev 5230)
+++ lmi/trunk/ChangeLog 2011-08-07 12:15:33 UTC (rev 5231)
@@ -28136,4 +28136,18 @@
input.hpp
Specialize reconstitutors more finely (VS). See:
http://lists.nongnu.org/archive/html/lmi/2011-03/msg00005.html
+ http://lists.nongnu.org/archive/html/lmi/2011-04/msg00002.html
+20110807T1202Z <address@hidden> [637]
+
+ input_sequence_entry.cpp
+ input_sequence_entry.hpp
+Prepare to embed InputSequenceEntry in wxDVC (VS). See:
+ http://lists.nongnu.org/archive/html/lmi/2011-07/msg00005.html
+
+20110807T1215Z <address@hidden> [637]
+
+ input_sequence_entry.cpp
+Make "..." button less obtrusive (VS). See:
+ http://lists.nongnu.org/archive/html/lmi/2011-06/msg00057.html
+
Modified: lmi/trunk/input_sequence_entry.cpp
===================================================================
--- lmi/trunk/input_sequence_entry.cpp 2011-08-07 12:02:42 UTC (rev 5230)
+++ lmi/trunk/input_sequence_entry.cpp 2011-08-07 12:15:33 UTC (rev 5231)
@@ -1208,6 +1208,11 @@
);
SetToolTip("Open sequence editor");
+
+ // Set vertical size to 1px - it's ridiculously small, but the sizers will
make it as
+ // tall as the text control. Use text extent of "..." for width, because
standard
+ // buttons use more padding.
+ SetMinSize(wxSize(8 + GetTextExtent(GetLabel()).x, 1));
}
void InputSequenceButton::UponKillFocus(wxFocusEvent& event)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [5231] Make "..." button less obtrusive (VS),
Greg Chicares <=