Show
Ignore:
Timestamp:
05/04/08 18:42:55 (4 years ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

reverted char[] to String

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/custom/StackLayout.d

    r152 r238  
    1212 *******************************************************************************/ 
    1313module dwt.custom.StackLayout; 
     14 
     15import dwt.dwthelper.utils; 
    1416 
    1517 
     
    129131} 
    130132 
    131 char[] getName () { 
    132     char[] string = this.classinfo.name; 
     133String getName () { 
     134    String string = this.classinfo.name; 
    133135    int index = tango.text.Util.locatePrior( string ,'.'); 
    134136    if (index is string.length ) return string; 
     
    142144 * @return a string representation of the layout 
    143145 */ 
    144 public override char[] toString () { 
    145     char[] string = getName ()~" {"; 
    146     if (marginWidth !is 0) string ~= "marginWidth="~to!(char[])(marginWidth)~" "; 
    147     if (marginHeight !is 0) string ~= "marginHeight="~to!(char[])(marginHeight)~" "; 
    148     if (topControl !is null) string ~= "topControl="~to!(char[])(topControl)~" "; 
     146public override String toString () { 
     147    String string = getName ()~" {"; 
     148    if (marginWidth !is 0) string ~= "marginWidth="~to!(String)(marginWidth)~" "; 
     149    if (marginHeight !is 0) string ~= "marginHeight="~to!(String)(marginHeight)~" "; 
     150    if (topControl !is null) string ~= "topControl="~to!(String)(topControl)~" "; 
    149151    string = tango.text.Util.trim(string); 
    150152    string ~= "}";