|
|
Re: Eclipse 3.1.M6 Strike.through [message #453317 is a reply to message #453286] |
Tue, 05 April 2005 08:00 |
Eclipse User |
|
|
|
Originally posted by: chs.tipas.at
yes i see.
we have like i suppose all others done some additinal coding like that:
Class logFontClass =
Class.forName("org.eclipse.swt.internal.win32.LOGFONT");
...
if (underline) {
logFontClass.getField("lfUnderline").set(logFont, new Byte((byte)
1));
}
for me, it is hard to explain, why we have to to some of such boring low
level tasks to other team members which came from other windows programming
environments, which have had such problems the last time in the mid 90s ;-)
there are some of such basically small things, but for beginners, they are
very hard to solve and maybe time consuming, which should not be the case i
think.
"Steve Northover" <steve_northover@ca.ibm.com> schrieb im Newsbeitrag
news:d2rs22$3eo$1@news.eclipse.org...
> Sorry, it can't. The operating system draws those widgets.
>
> "Christian Schaefer" <chs@tipas.at> wrote in message
> news:d2qq19$7po$1@news.eclipse.org...
>> can StyledText and StyleRange also applied to labels or other basic
> widgets
>> ?
>>
>>
>>
>>
>
>
|
|
|
Re: Eclipse 3.1.M6 Strike.through [message #453445 is a reply to message #453317] |
Tue, 05 April 2005 18:50 |
Steve Northover Messages: 1636 Registered: July 2009 |
Senior Member |
|
|
With this code, if your application relies on underlining to show something
to the user in the UI, your app will fail or look wrong everywhere else but
Windows. Obviously, we can't add this to the toolkit for that reason.
"Chris Schaefer" <chs@tipas.at> wrote in message
news:d2tgo9$4o4$1@news.eclipse.org...
> yes i see.
>
> we have like i suppose all others done some additinal coding like that:
> Class logFontClass =
> Class.forName("org.eclipse.swt.internal.win32.LOGFONT");
> ...
> if (underline) {
> logFontClass.getField("lfUnderline").set(logFont, new Byte((byte)
> 1));
> }
>
> for me, it is hard to explain, why we have to to some of such boring low
> level tasks to other team members which came from other windows
programming
> environments, which have had such problems the last time in the mid 90s
;-)
>
> there are some of such basically small things, but for beginners, they are
> very hard to solve and maybe time consuming, which should not be the case
i
> think.
>
>
>
> "Steve Northover" <steve_northover@ca.ibm.com> schrieb im Newsbeitrag
> news:d2rs22$3eo$1@news.eclipse.org...
> > Sorry, it can't. The operating system draws those widgets.
> >
> > "Christian Schaefer" <chs@tipas.at> wrote in message
> > news:d2qq19$7po$1@news.eclipse.org...
> >> can StyledText and StyleRange also applied to labels or other basic
> > widgets
> >> ?
> >>
> >>
> >>
> >>
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02543 seconds