Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Border on Text and other Widgets and Custom Variant
Border on Text and other Widgets and Custom Variant [message #90029] Mon, 26 May 2008 14:53 Go to next message
Markus  rüger is currently offline Markus rügerFriend
Messages: 369
Registered: July 2009
Senior Member
Hi,
setting the Border with a custom variant does not work
(NullPointerException) if a border is pre defined for the widget type. So
css file cannot contain somthing like this:
Text[BORDER] {

border: 1px solid #1695d4;

}


Text.mine, Text[BORDER].mine {

border: none;

}

This is the entry I used extending your demo. So it is not possible right
now to overwirte the global border setting with a custom variant!

Regards,

Markus
Re: Border on Text and other Widgets and Custom Variant [message #90057 is a reply to message #90029] Mon, 26 May 2008 16:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rsternberg.innoopract.com

Hi Markus,

the NPE ist of course a bug. Could you please file a new bugzilla entry
on this? I'll fix it asap.

Thanks, Ralf

Markus Krüger wrote:
> Hi,
> setting the Border with a custom variant does not work
> (NullPointerException) if a border is pre defined for the widget type. So
> css file cannot contain somthing like this:
> Text[BORDER] {
>
> border: 1px solid #1695d4;
>
> }
>
>
> Text.mine, Text[BORDER].mine {
>
> border: none;
>
> }
>
> This is the entry I used extending your demo. So it is not possible right
> now to overwirte the global border setting with a custom variant!
>
> Regards,
>
> Markus
>
>
Re: Border on Text and other Widgets and Custom Variant [message #90072 is a reply to message #90057] Mon, 26 May 2008 17:18 Go to previous message
Markus  rüger is currently offline Markus rügerFriend
Messages: 369
Registered: July 2009
Senior Member
https://bugs.eclipse.org/bugs/show_bug.cgi?id=233986

I hope RWT was the correct component to set.

"Ralf Sternberg" <rsternberg@innoopract.com> schrieb im Newsbeitrag
news:g1eps5$m53$1@build.eclipse.org...
> Hi Markus,
>
> the NPE ist of course a bug. Could you please file a new bugzilla entry on
> this? I'll fix it asap.
>
> Thanks, Ralf
>
> Markus Kr
Previous Topic:register binary resources via IResource
Next Topic:Invalid thread access from SWT
Goto Forum:
  


Current Time: Sun Jun 30 12:53:20 GMT 2024

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

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

Back to the top