Title: font-size for Action- and Ringmenue Post by: Stefan S. on September 29, 2008, 10:43:16 am Hello,
is there a style-attribute to have a different font / fontsize for the action and the ring menues ? tia Stefan Serwe Title: Re: font-size for Action- and Ringmenue Post by: Lionel F. on September 29, 2008, 06:55:36 pm Hello Stefan,
You might, for instance, do something like this : Code
and in your .4st style file : Code
Normally it should work. I invite you to consult the FGL documentation in order to get more details about the use of fonts : https://4js.com/online_documentation/fjs-fgl-2.11.01-manual-html/User/PresentationStyles.html#USING_FONTS (https://4js.com/online_documentation/fjs-fgl-2.11.01-manual-html/User/PresentationStyles.html#USING_FONTS). I hope it helps, Best regards, Lionel Title: Re: font-size for Action- and Ringmenue Post by: Ullrich M. on October 10, 2008, 12:04:59 pm ok, this works for the ringMenu.
What about the action panel? in the form file, this does not compile: action defaults action act1 ( text = "Act1", accelerator = Fx, style = "my buttonstyle" ) end action defaults ( style = "my buttonstyle" ) action act1 ( text = "Act1", accelerator = Fx ) end in the styles file these attributes are missing: actionPanelButtonFontFamily = .... actionPanelButtonFontSize = ... Any idea, how to apply a style to the actionPanelButtons? Thanks, Umo Title: Re: font-size for Action- and Ringmenue Post by: Lionel F. on October 13, 2008, 11:34:28 am Hello Ullrich
Yes, you're right. For now, there is no way to apply specifically a style on Action Panels. Nevertheless, you could possibly do this by inheritance. For instance, you inherit the style of your Action Panel from your Window, and after this, you still have the possibility to apply a specific style to the various children widgets. Regards, Lionel |