Project

General

Profile

Bug #2622

width-pixel/height-pixels can't be assigned during create frame

Added by Greg Shah almost 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:

History

#1 Updated by Constantin Asofiei almost 9 years ago

  • Status changed from New to WIP

Setting the frame's width/height attributes works in P2J only in "batch" mode, with the CREATE ASSIGN statement. When set sequentially, the frame performs its layout on the first pushScreenDefinition call (when the first attribute is set), and any subsequent dimension changed is just ignored.

Another peculiarity here is if only one of the dimension attributes is set, 4GL computes the other to a minimal value, if a VIEW (to realize the frame) is performed right after it. Also, in 4GL the frame is set in vert-scrollable mode, if the height dimension is the last to set.

As a larger issue, I think we need to standardize the way we determine if a widget's dimension was set explicitly on server-side (via config or attributes) or is computed implicitly.

#2 Updated by Constantin Asofiei over 8 years ago

Created branch 2622a from trunk rev 10916.

#3 Updated by Constantin Asofiei over 8 years ago

Please review branch 2622a rev 10917.

This is in runtime testing now.

#4 Updated by Greg Shah over 8 years ago

Code Review Task Branch 2622a Rev 10917

I'm fine with the changes.

#5 Updated by Constantin Asofiei over 8 years ago

Rev 10917 passed runtime testing.

#6 Updated by Constantin Asofiei over 8 years ago

Branch 2622a was merged to trunk rev 10917 and archived.

#7 Updated by Greg Shah over 8 years ago

  • Status changed from WIP to Closed

#8 Updated by Greg Shah over 7 years ago

  • Target version changed from Milestone 12 to GUI Support for a Complex ADM2 App

Also available in: Atom PDF