Page 1 of 1

Fieldset does not display properly

Posted: Mon Dec 30, 2019 12:46 pm
by LesTurner
I am trying to use a fieldset widget on a profoundui screen. The legend displays in a large size font and the top border does not appear at all. I am on version 6 fixpack 4.1

Re: Fieldset does not display properly

Posted: Mon Dec 30, 2019 1:44 pm
by Scott Klement
Hi Les,

Can you tell me how to reproduce the problem?

Re: Fieldset does not display properly

Posted: Mon Dec 30, 2019 3:02 pm
by LesTurner
Hello Scott,

Just drag a field set onto a profoundui screen. Place a few text boxes inside the fieldset. Give it a legend such as "Type choices, press Save". COmpile it and use the screen with an Exfmt from an RPGLE program.

When you launch screen preview it appears to work fine, but when you actually run it from an RPG program you get the problem with the top border not being displayed and the legend is displayed with a large font size.

Re: Fieldset does not display properly

Posted: Mon Dec 30, 2019 4:50 pm
by Scott Klement
This is what the screen looks like for me when I run the RPG program:
les.png
les.png (5.47 KiB) Viewed 1652 times

Re: Fieldset does not display properly

Posted: Mon Dec 30, 2019 4:51 pm
by Scott Klement
Most likely, you are loading a custom .css file somehow (either via your Genie skin, or via the userdata/custom IFS area) that is causing it to look different. It isn't doing this for me, and other customers have not reported any similar problems, so this is probably something unique to your setup.

Re: Fieldset does not display properly

Posted: Thu Jan 02, 2020 8:47 am
by LesTurner
Thanks Scott! How do I determine which css classes are used by the fieldset widget so I can see what is in conflict?

Re: Fieldset does not display properly

Posted: Fri Jan 03, 2020 2:47 am
by Scott Klement
Use your browser's debugging tools.

I'd start with the "inspector" (may be called different things in different browsers). You turn it on and point to an element on the screen, and it'll show you all of the CSS thats affecting that element.