Project

General

Profile

Bug #2168

Combo-box initial shape attribute mismatch

Added by Eugenie Lyzenko over 10 years ago. Updated over 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
08/19/2013
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version:

combo-box-4gl-linux.jpg - combo--box initial shape 4GL Linux (132 KB) Eugenie Lyzenko, 08/19/2013 05:28 PM

combo-box-4gl-windows.jpg - combo--box initial shape 4GL Windows (41.6 KB) Eugenie Lyzenko, 08/19/2013 05:28 PM

combo-box-p2j-linux.jpg - combo--box initial shape P2J Linux (114 KB) Eugenie Lyzenko, 08/19/2013 05:28 PM

combo-box-p2j-windows.jpg - combo--box initial shape P2J Windows (50.1 KB) Eugenie Lyzenko, 08/19/2013 05:28 PM

combo-box-opened-4gl-linux.jpg - combo--box opened drop-down 4GL Linux (153 KB) Eugenie Lyzenko, 08/19/2013 05:28 PM

combo-box-opened-4gl-windows.jpg - combo--box opened drop-down 4GL Windows (48.3 KB) Eugenie Lyzenko, 08/19/2013 05:28 PM

combo-box-opened-p2j-linux.jpg - combo--box opened drop-down P2J Linux (119 KB) Eugenie Lyzenko, 08/19/2013 05:28 PM

combo-box-opened-p2j-windows.jpg - combo--box opened drop-down P2J Windows (56.7 KB) Eugenie Lyzenko, 08/19/2013 05:28 PM

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.

Also available in: Atom PDF