strange display behaviour in tabpanel on Smart Client

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

strange display behaviour in tabpanel on Smart Client

Postby tgs » Thu Nov 28, 2019 7:16 pm

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 437 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 437 times


And when I delete the record:
sped_pic_6.png
sped_pic_6.png (105.52 KiB) Viewed 437 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
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 881
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Re: strange display behaviour in tabpanel on Smart Client

Postby tgs » Thu Nov 28, 2019 9:37 pm

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
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 881
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: MSN [Bot] and 1 guest