Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Display bug in ArrayCtrl
Display bug in ArrayCtrl [message #12869] |
Thu, 22 November 2007 21:54  |
malya
Messages: 27 Registered: June 2007
|
Promising Member |

|
|
Hello!
What is the bug in cell of ArrayCtrl?

The code of display:
//**************************
struct PathDisplay : Display
{
Image image;
virtual void Paint(Draw &w, const Rect &r, const Value &v, Color i, Color p, dword style) const
{
w.DrawRect(r, p);
w.DrawImage(r.left, r.top + (r.Height() - 16) / 2, image);
w.DrawText(r.left + 20, r.top, String(v), StdFont(), i);
}
virtual Size GetStdSize(const Value& q) const
{
return 20 + GetTLTextSize(ToUnicode(q.ToString(), CHARSET_DEFAULT));
}
};
static PathDisplay dspFile, dspFolder;
P.S.
In previous dev-710 it was all normal.
Thanks!
-
Attachment: bug.PNG
(Size: 10.50KB, Downloaded 721 times)
[Updated on: Thu, 22 November 2007 21:54] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Sun May 11 12:10:20 CEST 2025
Total time taken to generate the page: 0.00440 seconds
|