Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Underline
Underline [message #183188] Tue, 31 May 2005 20:57 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>>>
>>>
>>>
>>>
>
Previous Topic:Populating palette via XML file
Next Topic:Status of GEF with MultiEditorPart
Goto Forum:
  


Current Time: Tue Dec 03 06:08:17 GMT 2024

Powered by FUDForum. Page generated in 0.04093 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top