S
soerenbech
I have designed a cusom control called ImageButton with an image and a
text. The text is drawn on the control with
Graphics.DrawString (String, Font, Brush, RectangleF, StringFormat)
the StringFormat (fmt) is setup to enable word-wrapping, horizontal and
vertical centering with
fmt.Alignment = StringAlignment.Center;
fmt.LineAlignment = StringAlignment.Center;
This works just great in design time, and when executed on the PC, but
in PPC2003SE (device or emulator) text is not word wrapped.
Any ideas ?
Søren B. Christensen
text. The text is drawn on the control with
Graphics.DrawString (String, Font, Brush, RectangleF, StringFormat)
the StringFormat (fmt) is setup to enable word-wrapping, horizontal and
vertical centering with
fmt.Alignment = StringAlignment.Center;
fmt.LineAlignment = StringAlignment.Center;
This works just great in design time, and when executed on the PC, but
in PPC2003SE (device or emulator) text is not word wrapped.
Any ideas ?
Søren B. Christensen