Jump to content
  • Status: Open
  • Priority: Normal
  • Resolution: Unresolved
  • Platform: Android, iOS, Windows
  • Affects version: latest 1.18.8.1

Hi Yaroslav

i have another Problem found after looking in you nice LED Panel. See attached Sample.

I made to Frames (Fragment)

Fragment.Dashboard is base
Fragment.Test.Dashboard is derived from Fragment.Dashboard

Then in made 3 "Widgets":

Widget (Base)
Widget.Modul (Derived from Base)
Widget.Test (Derived from Widget.Modul)

I put Widget.Test to Komponent Palette

Then in my first Test i dragged it from Palette to Fragment.Test.Dashboard. It ist displayed as expected on the Frame !
Now press ALT+F12 (Show Form as Text) And again ALT+F12
 

The Widget is empty (Control not visible)

The Reason : The Height is 0 !

Placed Widget.Test in Fragment.Dashboard for testing: This Effect does not appear

In the Source of the Fragment.Test.Dashboard you can see SavedSizeHeight = 0 for some Controls. I think this is a bug. What do you think ?

DerivedControls.zip


User Feedback

Recommended Comments

  • Administrators

Update: It was possible to identify the reason - the presence of a scrollbox. Apparently, at the time of loading the components, its content has a zero size, which negatively affects the calculations of the nested components, which is why they assume a zero height at the start. Even if we force serialize the size of the content, there is still a cascading effect in the alignment. But the reasons are still not completely clear. Since it is during serialization that zero sizes are maintained.

The SavedSize is used for restoring control size in case, if it uses flex box alignment.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.