flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mih...@apache.org
Subject [2/2] git commit: [flex-sdk] [refs/heads/develop] - FLEX-32541 Removing unused constant.
Date Tue, 26 Aug 2014 16:47:40 GMT
FLEX-32541 Removing unused constant.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/f25593ed
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/f25593ed
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/f25593ed

Branch: refs/heads/develop
Commit: f25593ed396f184b0d378899941e59a30615f9ba
Parents: 03ae0f5
Author: Mihai Chira <mihaic@apache.org>
Authored: Tue Aug 26 17:47:05 2014 +0100
Committer: Mihai Chira <mihaic@apache.org>
Committed: Tue Aug 26 17:47:05 2014 +0100

----------------------------------------------------------------------
 .../advancedDataGridClasses/AdvancedDataGridHeaderRenderer.as     | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f25593ed/frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridHeaderRenderer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridHeaderRenderer.as
b/frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridHeaderRenderer.as
index 8c49eb1..bd69089 100644
--- a/frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridHeaderRenderer.as
+++ b/frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridHeaderRenderer.as
@@ -622,9 +622,6 @@ public class AdvancedDataGridHeaderRenderer
         if (sortItemRendererWidth == 0)
             horizontalGap = 0;
 
-        // Size of label
-        const MINIMUM_SIZE:TextLineMetrics = measureText("w");
-
         // Adjust to given width
         var lineMetrics:TextLineMetrics = measureText(label.text);
         var labelWidth:Number  = lineMetrics.width + UITextField.TEXT_WIDTH_PADDING;


Mime
View raw message