Develop and Download Open Source Software

Browse Subversion Repository

Diff of /NNDDv2/trunk/src/org/mineap/nndd/view/VideoInfoView.as

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 869 by mineap, Sat Jun 16 06:36:05 2012 UTC revision 876 by mineap, Sat Jul 7 08:49:54 2012 UTC
# Line 776  private function windowCompleteHandler() Line 776  private function windowCompleteHandler()
776          videoPlayer.showUnderController(!isHideUnderController, true);          videoPlayer.showUnderController(!isHideUnderController, true);
777          videoPlayer.showTagArea(!isHideTagArea, true);          videoPlayer.showTagArea(!isHideTagArea, true);
778                    
779            
780            var fontSize:int = Number(ConfigManager.getInstance().getItem("fontSize"));
781            this.setChangeFontSize(fontSize);
782            
783          this.setStyle("fontFamily", ConfigManager.getInstance().getItem("fontFamily"));          this.setStyle("fontFamily", ConfigManager.getInstance().getItem("fontFamily"));
784          this.setStyle("fontSize", Number(ConfigManager.getInstance().getItem("fontSize")));          this.setStyle("fontSize", fontSize);
785            
786  }  }
787    
788  private function comboboxRelationOrderCreationCompleteHandler(event:FlexEvent):void  private function comboboxRelationOrderCreationCompleteHandler(event:FlexEvent):void
# Line 2015  public function get playList():PlayList{ Line 2020  public function get playList():PlayList{
2020          }          }
2021                    
2022          return playList;          return playList;
 }  
2023    }
2024    
2025    public function setChangeFontSize(fontsize:int):void
2026    {
2027            if (fontsize == 10)
2028            {
2029                    setRowHeight(22);
2030            }else if (fontsize == 11)
2031            {
2032                    setRowHeight(22);
2033            }else if (fontsize == 12)
2034            {
2035                    setRowHeight(24);
2036            }else if (fontsize >= 15)
2037            {
2038                    setRowHeight(26);
2039            }
2040    }
2041    
2042    private function setRowHeight(size:int):void
2043    {
2044            if (dataGrid_comment != null)
2045            {
2046                    dataGrid_comment.rowHeight = size;
2047            }
2048            if (dataGrid_oldComment != null)
2049            {
2050                    dataGrid_oldComment.rowHeight = size;
2051            }
2052            if (dataGrid_ownerComment != null)
2053            {
2054                    dataGrid_ownerComment.rowHeight = size;
2055            }
2056    }
2057    
2058    

Legend:
Removed from v.869  
changed lines
  Added in v.876

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26