Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Multiline Checkbox
Multiline Checkbox [message #1243727] Tue, 11 February 2014 11:03 Go to next message
Matthias Nick is currently offline Matthias NickFriend
Messages: 197
Registered: August 2013
Senior Member
Hi,

I have created a checkbox with multiline text.

Is there a possibility to align the "checkbox" symbol on top? Now it is centered in the middle.

index.php/fa/17450/0/

Thanks,
Matthias
  • Attachment: checkbox.png
    (Size: 2.59KB, Downloaded 369 times)
Re: Multiline Checkbox [message #1243800 is a reply to message #1243727] Tue, 11 February 2014 13:06 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
Hi.

> Is there a possibility to align the "checkbox" symbol on top? Now it is centered in the middle.

Vertical alignment for buttons is currently not supported. I think it
would be possible to add it as a CSS property. You could open an
enhancement request on bugzilla for this feature.

Greetings,
Tim


--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Multiline Checkbox [message #1243803 is a reply to message #1243800] Tue, 11 February 2014 13:11 Go to previous messageGo to next message
Matthias Nick is currently offline Matthias NickFriend
Messages: 197
Registered: August 2013
Senior Member
Hi Tim,
thanks for your answer.

Can you tell me how the "css property way" would look like?

Thanks
Re: Multiline Checkbox [message #1243913 is a reply to message #1243803] Tue, 11 February 2014 16:29 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
Hi.

Assuming you would want this on every check Button, you register a theme
contribution[1] and add something like this:

Button[CHECK] {
vertical-align: top;
}

[1] http://eclipse.org/rap/developers-guide/devguide.php?topic=theming.html

Greetings,
Tim

Am 11.02.2014 14:11, schrieb Matthias Nick:
> Hi Tim,
> thanks for your answer.
>
> Can you tell me how the "css property way" would look like?
>
> Thanks

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Multiline Checkbox [message #1244499 is a reply to message #1243913] Wed, 12 February 2014 12:23 Go to previous messageGo to next message
Matthias Nick is currently offline Matthias NickFriend
Messages: 197
Registered: August 2013
Senior Member
Hi Tim,

thanks for your answer.

When I add the vertical-align attribute, I get

org.w3c.css.sac.CSSException: Failed to read property vertical-align: Unknown property vertical-align


Did I miss anything?
Re: Multiline Checkbox [message #1244509 is a reply to message #1244499] Wed, 12 February 2014 12:40 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Matthias,
as you already found, vertical-align property is not supported. You
could file an enhancement request in our bugzilla.
For complete list of supported themeing properties use [1].

[1]
http://download.eclipse.org/rt/rap/doc/2.2/guide/reference/theming/index.html
Best,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Multiline Checkbox [message #1244540 is a reply to message #1244509] Wed, 12 February 2014 13:43 Go to previous messageGo to next message
Matthias Nick is currently offline Matthias NickFriend
Messages: 197
Registered: August 2013
Senior Member
Hi Ivan,
thanks for your comments.

I opened Bug 427993

Best regards,
Matthias
Re: Multiline Checkbox [message #1244634 is a reply to message #1244499] Wed, 12 February 2014 16:44 Go to previous message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
Yeah, maybe wasn't precise enough: "think it would be possible to add
[support for] it as a CSS property."


Am 12.02.2014 13:23, schrieb Matthias Nick:
> Hi Tim,
>
> thanks for your answer.
>
> When I add the vertical-align attribute, I get
>
> org.w3c.css.sac.CSSException: Failed to read property vertical-align:
> Unknown property vertical-align
>
> Did I miss anything?

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:RCP to RAP : No context available outside of the request processing
Next Topic:Application frozen while reloading (F5)
Goto Forum:
  


Current Time: Fri Mar 29 06:06:03 GMT 2024

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

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

Back to the top