Image with fontawesome

Started by Benjamin G., October 30, 2020, 08:06:03 PM

Previous topic - Next topic

Benjamin G.

Hello. How can i change the size of an image filled by a fontawesome ttf  ?

Tanks

Reuben B.

Have you looked at FGLDIR/demo/Widgets/Image  ?  That shows the result of some different attributes including SIZEPOLICY, AUTOSCALE, STRETCH, WIDTH, HEIGHT
Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero

Benjamin G.

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

Reuben B.

Quote from:  . 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
It is labelled "autoScale" and is the first entry in the Display Group
Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero

Benjamin G.

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

Reuben B.

Quote from:  . 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

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




Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero

Benjamin G.

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

Benjamin G.

i've forgot to specify my version ...

Genero Studio 3.20.09 build 202010121742
Targeget w64v141


Reuben B.

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.
Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero