Bug #2168
Combo-box initial shape attribute mismatch
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
08/19/2013
Due date:
% Done:
0%
billable:
No
vendor_id:
GCD
case_num:
version:
History
#1 Updated by Eugenie Lyzenko over 10 years ago
- Description updated (diff)
Another attribute drawing mismatch has been found for combo-box widget. This is the runtime issue. There must be one " " character space without underlining between combo-box entry field and combo-box drop-down button. This can only be seen on screenshots attached. The original pictures are: combo-box-4gl-windows.jpg, combo-box-4gl-linux.jpg, combo-box-opened-4gl-windows.jpg, combo-box-opened-4gl-linux.
The current P2J respective behavior picture files are: combo-box-p2j-windows.jpg, combo-box-p2j-linux.jpg, combo-box-opened-p2j-windows.jpg, combo-box-opened-p2j-linux.
Fortunately the fix is simple: we need to replace one line in com/goldencode/p2j/ui/chui/ComboBoxImpl.java:
from
... line 67 screen().at(screenLocation()) .append(display, dc) .at(screenLocation().offset(display.length(), 0)) .append(' ', dc) .append("[V]", pf); ...
to
... screen().at(screenLocation()) .append(display, dc) .at(screenLocation().offset(display.length(), 0)) .append(' ', dc.withoutUnderline()) .append("[V]", pf); ...
This change fixes the issue.