Author: gbrown
Date: Mon May 24 23:24:57 2010
New Revision: 947859

URL: http://svn.apache.org/viewvc?rev=947859&view=rev
Log:
Add test case for PIVOT-503.

Added:
    pivot/trunk/tests/src/org/apache/pivot/tests/text_test.wtkx
Modified:
    
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraBorderSkin.java

Added: pivot/trunk/tests/src/org/apache/pivot/tests/text_test.wtkx
URL: 
http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/text_test.wtkx?rev=947859&view=auto
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/text_test.wtkx (added)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/text_test.wtkx Mon May 24 
23:24:57 2010
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to you under the Apache License,
+Version 2.0 (the "License"); you may not use this file except in
+compliance with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<Window title="Text Test" maximized="true"
+    xmlns:wtkx="http://pivot.apache.org/wtkx";
+    xmlns="org.apache.pivot.wtk">
+    <content>
+        <BoxPane orientation="vertical" styles="{fill:true, spacing:8, 
padding:8}">
+            <Separator heading="INFORMATION"/>
+            <Border title="INFORMATION" styles="{padding:6}">
+                <content>
+                    <Label text="This is the information."/>
+                </content>
+            </Border>
+            <Label text="INFORMATION" styles="{font:{bold:true}, color:13}"/>
+        </BoxPane>
+    </content>
+</Window>

Modified: 
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraBorderSkin.java
URL: 
http://svn.apache.org/viewvc/pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraBorderSkin.java?rev=947859&r1=947858&r2=947859&view=diff
==============================================================================
--- 
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraBorderSkin.java 
(original)
+++ 
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraBorderSkin.java 
Mon May 24 23:24:57 2010
@@ -26,7 +26,7 @@ public class TerraBorderSkin extends Bor
     public TerraBorderSkin() {
         setBackgroundColor(4);
         setColor(7);
-        setTitleColor(16);
+        setTitleColor(13);
     }
 
     public final void setColor(int color) {


Reply via email to