Underline [message #183188] |
Tue, 31 May 2005 20:57 |
Eclipse User |
|
|
|
Originally posted by: freddie_nurke.hotmail.com
Hi folks,
Is underline working? When I set underline to "true" for a Container,
the text still does not appear underlined. Similarly when I create a
TextRun of TYPE_UNDERLINE no underlining appears. Which property should
I use, and is it a known problem?
I'm on M4.
Thanks,
Fred
|
|
|
Re: Underline [message #183339 is a reply to message #183188] |
Wed, 01 June 2005 17:37 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
We have only implemented BOLD and Italics so far. Underline could be
implemented as a FlowBorder.
"Fred Nurke" <freddie_nurke@hotmail.com> wrote in message
news:d7ije5$b84$1@news.eclipse.org...
> Hi folks,
>
> Is underline working? When I set underline to "true" for a Container, the
> text still does not appear underlined. Similarly when I create a TextRun
> of TYPE_UNDERLINE no underlining appears. Which property should I use,
> and is it a known problem?
>
> I'm on M4.
>
> Thanks,
>
> Fred
|
|
|
Re: Underline [message #183362 is a reply to message #183339] |
Wed, 01 June 2005 23:12 |
Eclipse User |
|
|
|
Originally posted by: freddie_nurke.hotmail.com
Thanks, Randy. When do you plan to implement underline? If it's coming
soon I won't bother to hack it.
Thanks,
Fred
Randy Hudson wrote:
> We have only implemented BOLD and Italics so far. Underline could be
> implemented as a FlowBorder.
>
> "Fred Nurke" <freddie_nurke@hotmail.com> wrote in message
> news:d7ije5$b84$1@news.eclipse.org...
>
>>Hi folks,
>>
>>Is underline working? When I set underline to "true" for a Container, the
>>text still does not appear underlined. Similarly when I create a TextRun
>>of TYPE_UNDERLINE no underlining appears. Which property should I use,
>>and is it a known problem?
>>
>>I'm on M4.
>>
>>Thanks,
>>
>>Fred
>
>
>
|
|
|
Re: Underline [message #183419 is a reply to message #183362] |
Thu, 02 June 2005 15:51 |
Eclipse User |
|
|
|
Originally posted by: james.willans.xactium.com
Fred,
If you are using windows then you can do the following:
FontData fd = f.getFontData()[0];
fd.data.lfUnderline = 1;
Although this works strictly on windows only.
James
Fred Nurke wrote:
> Thanks, Randy. When do you plan to implement underline? If it's coming
> soon I won't bother to hack it.
> Thanks,
> Fred
> Randy Hudson wrote:
>> We have only implemented BOLD and Italics so far. Underline could be
>> implemented as a FlowBorder.
>>
>> "Fred Nurke" <freddie_nurke@hotmail.com> wrote in message
>> news:d7ije5$b84$1@news.eclipse.org...
>>
>>>Hi folks,
>>>
>>>Is underline working? When I set underline to "true" for a Container, the
>>>text still does not appear underlined. Similarly when I create a TextRun
>>>of TYPE_UNDERLINE no underlining appears. Which property should I use,
>>>and is it a known problem?
>>>
>>>I'm on M4.
>>>
>>>Thanks,
>>>
>>>Fred
>>
>>
>>
|
|
|
Re: Underline [message #183427 is a reply to message #183419] |
Thu, 02 June 2005 17:08 |
Eclipse User |
|
|
|
Originally posted by: freddie_nurke.hotmail.com
Thanks, James. I do want to support other platforms, though.
Thanks,
Fred
James Willans wrote:
> Fred,
>
> If you are using windows then you can do the following:
>
> FontData fd = f.getFontData()[0];
> fd.data.lfUnderline = 1;
>
> Although this works strictly on windows only.
>
> James
>
> Fred Nurke wrote:
>
>> Thanks, Randy. When do you plan to implement underline? If it's
>> coming soon I won't bother to hack it.
>
>
>> Thanks,
>
>
>> Fred
>
>
>> Randy Hudson wrote:
>>
>>> We have only implemented BOLD and Italics so far. Underline could be
>>> implemented as a FlowBorder.
>>>
>>> "Fred Nurke" <freddie_nurke@hotmail.com> wrote in message
>>> news:d7ije5$b84$1@news.eclipse.org...
>>>
>>>> Hi folks,
>>>>
>>>> Is underline working? When I set underline to "true" for a
>>>> Container, the text still does not appear underlined. Similarly
>>>> when I create a TextRun of TYPE_UNDERLINE no underlining appears.
>>>> Which property should I use, and is it a known problem?
>>>>
>>>> I'm on M4.
>>>>
>>>> Thanks,
>>>>
>>>> Fred
>>>
>>>
>>>
>>>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04093 seconds