CnPack Forum » CnVCL 组件包 » CnAAScrollText自动换行的BUG


2007-7-16 12:29 风铃夜思雨
CnAAScrollText自动换行的BUG

使用以下代码,让文本自动换行单列显示,发现最后的两个字不会自动换行
CnAAText同样有此问题
   With CnAAScrollText1 Do
  Begin
    Width := 32;  //一个字的宽度
    Text.Font.Name := '楷体_GB2312';
    Text.Font.Height := -32;
    Text.Font.Size := 24;
    Text.RowPitch := 0;
    Text.Font.Color := clFuchsia;
    ParentEffect.ParentColor := true;
    Text.Lines.Text := '平滑特效字体';
    Text.WordWrap := True; //启动自动换行
    Active := true;
  End;

请求解决

[[i] 本帖最后由 风铃夜思雨 于 2007-7-16 12:34 编辑 [/i]]

页: [1]


Powered by Discuz! Archiver 5.0.0  © 2001-2006 Comsenz Inc.