[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bugs #10941] TextBox shows Text in "grey on grey" whe
From: |
Gopal.V |
Subject: |
[Pnet-developers] [bugs #10941] TextBox shows Text in "grey on grey" when not enabled |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[bugs #10941] Latest Modifications:
Changes by:
Gopal.V <address@hidden>
'Date:
Sat 12/11/2004 at 13:19 (Asia/Calcutta)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Fixed
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
Applied patch #3508 .
Grey text is still not really readable - more patches ?.
/**************************************************************************/
[bugs #10941] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10941>
Project: DotGNU Portable.NET
Submitted by: Erich Kitzmüller
On: Mon 11/08/2004 at 10:19
Category: None
Severity: 5 - Average
Item Group: None
Resolution: Fixed
Privacy: Public
Assigned to: None
Status: Closed
Summary: TextBox shows Text in "grey on grey" when not enabled
Original Submission: The text in a TextBox should be readable even if the
TextBox is not enabled. Currently, the textbox turns grey and the text is not
visible.
Follow-up Comments
------------------
-------------------------------------------------------
Date: Sat 12/11/2004 at 13:19 By: Gopal.V <t3rmin4t0r>
Applied patch #3508 .
Grey text is still not really readable - more patches ?.
-------------------------------------------------------
Date: Mon 11/08/2004 at 11:37 By: Erich Kitzmüller <ammoq>
It's not grey in grey, but not painted at all. The reason is a interger
overflow in Rectangle.cs. This is caused by the following line (appears two
times in TextBox.DrawText):
ControlPaint.DrawStringDisabled(g, lineText, font, BackColor, new
Rectangle(x, y, int.MaxValue, int.MaxValue), StringFormat.GenericDefault);
This causes problems in Rectangle.IntersectsWidth()
public bool IntersectsWith(Rectangle rect)
{
return (rect.x < (x + width) &&
(rect.x + rect.width) >= x &&
rect.y < (y + height) &&
(rect.y + rect.height) >= y);
}
I don't know if this should be patched in Rectangle.cs or in TextBox.cs; maybe
both.
File Attachments
-------------------
-------------------------------------------------------
Date: Mon 11/08/2004 at 10:19 Name: FormTest.cs Size: 357B By: ammoq
http://savannah.gnu.org/bugs/download.php?item_id=10941&item_file_id=1845
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10941>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Pnet-developers] [bugs #10941] TextBox shows Text in "grey on grey" when not enabled,
Gopal.V <=