Re: Prompt bug with custom font in TextInput component?

2013-04-30 Thread Sebastian Mohr
Thanks Jude, And sorry for the delay. Your link solved it. The reason was: the font hasn't had an italic font and therefore Flex took the italic font of Times New Roman in the TextInput prompt. This solved it [1] ... so it's not a bug. Thanks! [1] *Prompt font bug solution:* @font-face {

Re: Prompt bug with custom font in TextInput component?

2013-04-12 Thread Sebastian Mohr
Hi Alex, I tried different combinations guided by this documentation [1]. This is a screenshot of the application [2]. None of font-face attributes show the MyriadWebPro font in the promptDisplay SkinPart … whereas in the textDisplay SkinPart of the TextInput shows it correctly

Re: Prompt bug with custom font in TextInput component?

2013-04-12 Thread Alex Harui
I still haven't tried your test case. Is it for mobile or desktop/browser? In the snippet below, you are using different font families for different font-weights. That is not the recommended practice. And you are using fontStyle instead of fontWeight which is not correct. On 4/12/13 3:58 AM,

Re: Prompt bug with custom font in TextInput component?

2013-04-12 Thread jude
FYI it's not unusual for a font to be broken up into several different font files or that it supports a certain font face. Some don't have bold or italic. They may have a version 2 that is slightly bolder strong. But in this case you have fontStyle:bold. The fontStyle style only supports, italic

Prompt bug with custom font in TextInput component?

2013-04-10 Thread Sebastian Mohr
Hi there, Just a quick question in regards to the TextInput component. Do you know how to change the font of the prompt in the TextInput component? The code example below [1] does not show the prompt with the correct font. I also tried to create a custom TextInputSkin with a customised

Re: Prompt bug with custom font in TextInput component?

2013-04-10 Thread Alex Harui
I didn't run it, but it looks like you are using a bold font without setting fontWeight. On 4/10/13 2:45 AM, Sebastian Mohr flex.masul...@gmail.com wrote: Hi there, Just a quick question in regards to the TextInput component. Do you know how to change the font of the prompt in the