Project

General

Profile

Bug #6443

Widget ROW/COLUMN validation

Added by Marian Edu almost 2 years ago. Updated almost 2 years ago.

Status:
Review
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

100%

billable:
No
vendor_id:
GCD
case_num:
version:

position_validate.patch Magnifier (6.6 KB) Marian Edu, 05/27/2022 01:50 AM

History

#1 Updated by Marian Edu almost 2 years ago

Just in case this gets overlooked, after changes in #5897 there was a regression reported for screens in #6314. Reverting some changes to set fixedWidth/fixedHeight to true when those properties are set whether or not inside frame setup while solving the 'regression' would have been disabling the frame size adjustment logic all together in those cases.

The issue was actually coming from the missing validation of ROW/COLUMN properties done by 4GL - when the widget parent is already realized it will check if the new position is valid or the widget doesn't fit in its parent space, if it doesn't a warning is raised and the value for the property is not updated.

Attached the patch for this.

#2 Updated by Marian Edu almost 2 years ago

  • Status changed from WIP to Review

Ready for review...

Also available in: Atom PDF