Changeset 238:380bad9f6852 for dwt/layout/FormAttachment.d
- Timestamp:
- 05/04/08 18:42:55 (4 years ago)
- Files:
-
- dwt/layout/FormAttachment.d (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/layout/FormAttachment.d
r195 r238 19 19 20 20 import tango.text.convert.Format; 21 import dwt.dwthelper.utils; 21 22 22 23 /** … … 299 300 * @return a string representation of the FormAttachment 300 301 */ 301 public override char[]toString () {302 char[]string = control !is null ? control.toString () : Format( "{}/{}", numerator, denominator );302 public override String toString () { 303 String string = control !is null ? control.toString () : Format( "{}/{}", numerator, denominator ); 303 304 return Format("{{y = ({})x + {}}", string, ( offset >= 0 ? Format(")x + {}", offset ) : Format( ")x - {}", -offset))); 304 305 }
