Four Js Development Tools Forum

Discussions by product => Genero BDL => Topic started by: Benjamin G. on October 30, 2020, 08:06:03 pm



Title: Image with fontawesome
Post by: Benjamin G. on October 30, 2020, 08:06:03 pm
Hello. How can i change the size of an image filled by a fontawesome ttf  ?

Tanks


Title: Re: Image with fontawesome
Post by: Reuben B. on November 04, 2020, 03:23:12 am
Have you looked at FGLDIR/demo/Widgets/Image  ?  That shows the result of some different attributes including SIZEPOLICY, AUTOSCALE, STRETCH, WIDTH, HEIGHT


Title: Re: Image with fontawesome
Post by: Benjamin G. on November 04, 2020, 08:49:42 am
Hi,

Autoscale feature was the solution.
Problem is that with genero studio i was not able to set "autoscale" on an image (don't know how to do that). I've made a .per and it's work

Thanks


Title: Re: Image with fontawesome
Post by: Reuben B. on November 04, 2020, 08:37:09 pm
Hi,

Autoscale feature was the solution.
Problem is that with genero studio i was not able to set "autoscale" on an image (don't know how to do that). I've made a .per and it's work

Thanks
It is labelled "autoScale" and is the first entry in the Display Group


Title: Re: Image with fontawesome
Post by: Benjamin G. on November 04, 2020, 10:46:22 pm
Hi,

I've seen the option Autoscale but if a click on it genero studio ask me for an "initialiser" ... i've expected a "checkbox" true/false ?
How it's work ?
on .per file it's only an "autoscale" option ...

Thanks


Title: Re: Image with fontawesome
Post by: Reuben B. on November 04, 2020, 11:29:30 pm
Hi,

I've seen the option Autoscale but if a click on it genero studio ask me for an "initialiser" ... i've expected a "checkbox" true/false ?
How it's work ?
on .per file it's only an "autoscale" option ...

Thanks

For autoScale I see a Checkbox on the left, on the right hand side is an initializer button and a reset button.  (the initializer functionality is mentioned here http://4js.com/online_documentation/fjs-gst-manual-html/#gst-topics/c_gst_formdesigner_properties_info.html I don't think you would be using it in this instance ).

I wonder, what O/S are you using and what version?  There was an issue with GDC on Linux https://4js.com/support/issue/?id=GDC-4332 where an unchecked checkbox was difficult to see against the background.  As GST uses same Qt libraries, potentially same issue could occur with GST on Linux.  So I wonder if the checkbox is there and you just can't see it.  So click where it should be and see if the check becomes visible or try a different theme etc

Reuben






Title: Re: Image with fontawesome
Post by: Benjamin G. on November 05, 2020, 10:16:19 am
Hello,

that was the problem. Genero Studio with Dark Theme checkboxes are not clearly visible.
attached files with samples

Thank you Reuben for your help.
Regards


Title: Re: Image with fontawesome
Post by: Benjamin G. on November 05, 2020, 10:19:06 am
i've forgot to specify my version ...

Genero Studio 3.20.09 build 202010121742
Targeget w64v141



Title: Re: Image with fontawesome
Post by: Reuben B. on November 08, 2020, 10:55:35 pm
Can you please raise a support case through your regional support center re: the apppearance of the checkbox in dark theme.  They can then ask you any follow-up questions and provide a case number if there is an issue and alert you when it has been resolved.