You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by gb...@apache.org on 2010/02/10 16:36:41 UTC

svn commit: r908541 - in /pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra: TerraSuggestionPopupSkin.java command_button.json

Author: gbrown
Date: Wed Feb 10 15:36:41 2010
New Revision: 908541

URL: http://svn.apache.org/viewvc?rev=908541&view=rev
Log:
Make command button font bold; allow for variable height items in suggestion popup.

Modified:
    pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraSuggestionPopupSkin.java
    pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/command_button.json

Modified: pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraSuggestionPopupSkin.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraSuggestionPopupSkin.java?rev=908541&r1=908540&r2=908541&view=diff
==============================================================================
--- pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraSuggestionPopupSkin.java (original)
+++ pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraSuggestionPopupSkin.java Wed Feb 10 15:36:41 2010
@@ -122,6 +122,7 @@
     private static final int CLOSE_TRANSITION_RATE = 30;
 
     public TerraSuggestionPopupSkin () {
+        suggestionListView.getStyles().put("variableItemHeight", true);
         suggestionListView.getListViewSelectionListeners().add(listViewSelectionListener);
         suggestionListViewBorder.setContent(suggestionListView);
     }

Modified: pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/command_button.json
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/command_button.json?rev=908541&r1=908540&r2=908541&view=diff
==============================================================================
--- pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/command_button.json (original)
+++ pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/command_button.json Wed Feb 10 15:36:41 2010
@@ -14,7 +14,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-{   color: 4,
+{   font:{bold:true},
+    color: 4,
     backgroundColor: 16,
     borderColor: 13,
     disabledBackgroundColor: 10,