Skip to content

Commit

Permalink
Fix message truncated #49
Browse files Browse the repository at this point in the history
by avoiding new form object bottom to be overwritten by current one
when calling computed property "coordinates"
  • Loading branch information
e-marchand committed Aug 24, 2023
1 parent b6277b2 commit 6d67d82
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Project/Sources/Classes/widgetMessage.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ Function display()
| ($o.name="background")

// Grow
This:C1470[$o.name].coordinates.bottom:=This:C1470[$o.name].coordinates.bottom+$offset
This:C1470[$o.name].newCoordinates:=OB Copy:C1225(This:C1470[$o.name].coordinates)
This:C1470[$o.name].newCoordinates.bottom:=This:C1470[$o.name].newCoordinates.bottom+$offset

//______________________________________________________
End case
Expand Down Expand Up @@ -289,10 +290,9 @@ Function update($data : Object)
This:C1470[$o.name].setCoordinates(This:C1470[$o.name].coordinates)

// ---------------------------------------
: ($o.name="additional")\

: ($o.name="additional")

This:C1470[$o.name].setCoordinates(This:C1470[$o.name].coordinates)
This:C1470[$o.name].setCoordinates(This:C1470[$o.name].newCoordinates=Null:C1517 ? This:C1470[$o.name].coordinates : This:C1470[$o.name].newCoordinates)
This:C1470[$o.name].setVerticalScrollbar(Bool:C1537(This:C1470.scrollbar))

// ---------------------------------------
Expand Down

0 comments on commit 6d67d82

Please sign in to comment.