Dyalog / Dyalog/ewc-client

Incorrect Defaults for Form and Edit

Open
#201 2 comments 0 reactions 0 assignees View on GitHub
client enhancement
Dominant language
JavaScript
Stars
2
Forks
5
Avg merge
5d
Merged PRs (30d)
4

Description

When creating a form with two edit fields, many defaults are incorrect. Run Demo_Issue201, which sends the following WC messages:

41:31.097 T: #5: {"WC":{"ID":"F1","Properties":{"Caption":"Test Defaults","Coord":"Pixel","Posn":[0,0],"Type":"Form"}}}
41:31.130 T: #5: {"WC":{"ID":"F1.E1","Properties":{"Type":"Edit"}}}
41:31.144 T: #5: {"WC":{"ID":"F1.E2","Properties":{"Type":"Edit"}}}

The resulting output is:

![image](https://github.com/user-attachments/assets/482f6c11-3828-424d-9357-423b2c403156)

If you run the same test under Win32, the result is:

![image](https://github.com/user-attachments/assets/4c489349-229a-4f42-bf23-651a8b4aeb3c)

The default size for any object is half the height and width of the container (for a form, the desktop). In other words, the edit fields E1 and E2 should have the same size and position.

Also note that no form caption is displayed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.