Page 1 of 1

strange display behaviour in tabpanel on Smart Client

PostPosted: Thu Nov 28, 2019 7:16 pm
by tgs
Hi,
since I have created a new form (list view) and added as related tab to an existing tabpanel, I get this strange display behaviour:

If I create a new related record with the "+" button:
sped_pic_2.png
sped_pic_2.png (58.77 KiB) Viewed 1861 times

The tabpanel displays a screenshot from the main form??

Now I have loaded a picture into the media column:
sped_pic_4.png
sped_pic_4.png (145.63 KiB) Viewed 1861 times


And when I delete the record:
sped_pic_6.png
sped_pic_6.png (105.52 KiB) Viewed 1861 times


Never before I had this strange behaviour and I have no idea where it comes from.
All other tabs and tabpanels (related) are working as they should do.

If I change the (main)record and/or the tab the display disappears.

Servoy 7.4.11
Win 10
Java 8 several versions tried

Does anybody have an idea how I can fix this?

Best regards

Re: strange display behaviour in tabpanel on Smart Client

PostPosted: Thu Nov 28, 2019 9:37 pm
by tgs
I have now detected that this problem occurs because of a set style.
This is my style:
Code: Select all
form, odd, even, selected {
   background-color: transparent;
   color: #000000;
}

form odd {
   background-color: #FFFFFF;
}

form even {
   background-color: #f1f5fa;
}

form selected {
    background-color: #808080;
    color: #FFF;
}

form.alternate odd {
   background-color: #FFFFFF;
}

form.alternate even {
   background-color: #e0e0e0;
}

form.alternate selected {
    background-color: #88c4ff;
    color: #FFF;
}

form.alternate1 odd {
   background-color: #ffffff;
}

form.alternate1 even {
   background-color: #ffffff;
}

form.alternate1 selected {
    background-color: #ffffff;
    color: #FFF;
}

form.alternate2 odd {
   background-color: #ffffff;
}

form.alternate2 even {
   background-color: #ffffff; /*#f1f5fa;*/
}

form.alternate2 selected {
    background-color: #e0e0e0;
    color: #000000;
}

Is anything wrong with it?
I use this on many other forms without any problems.

Best regards