Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 284021 - [DateTime] Text cursor visible outside widget bounds
Summary: [DateTime] Text cursor visible outside widget bounds
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.3 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-20 11:28 EDT by Ralf Sternberg CLA
Modified: 2009-08-05 06:34 EDT (History)
0 users

See Also:


Attachments
Screenshot (10.34 KB, image/png)
2009-07-20 11:32 EDT, Ralf Sternberg CLA
no flags Details
Proposed patch (1.96 KB, patch)
2009-07-28 03:10 EDT, Asen Draganov CLA
rsternberg: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Sternberg CLA 2009-07-20 11:28:08 EDT
Obviously, the DateTime widget uses a single text field for editing.
When a huge padding is applied, the text field's cursor becomes visible on the right of the up/down buttons.

While editing is off, the text field's visibility should be set to false.
Comment 1 Ralf Sternberg CLA 2009-07-20 11:32:38 EDT
Created attachment 142033 [details]
Screenshot
Comment 2 Ralf Sternberg CLA 2009-07-23 12:15:55 EDT
The cursor is also visible when the button images are transparent. Looks weird.
Comment 3 Asen Draganov CLA 2009-07-28 03:10:29 EDT
Created attachment 142733 [details]
Proposed patch

The problem was caused by spinner's text field. The solution: it has been made invisible.
Comment 4 Ralf Sternberg CLA 2009-08-05 06:33:57 EDT
Applied patch to CVS HEAD