Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » middle align
middle align [message #1780695] Thu, 25 January 2018 16:10 Go to next message
Eclipse UserFriend
How to set text to middle align(vertical) inside rows for TableViewer?
Re: middle align [message #1780943 is a reply to message #1780695] Tue, 30 January 2018 04:10 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
that's an old enhancement request:

361796: [Table][Tree] Setting vertical alignment
https://bugs.eclipse.org/bugs/show_bug.cgi?id=361796

but unfortunately, we didn't find a generic solution for the problem, which can be used together with different Tree/Table/Nebula Grid configurations: raw template, single checkbox cell, markup, cell with image, etc.

Regards,
Ivan
Re: middle align [message #1781222 is a reply to message #1780943] Sat, 03 February 2018 04:20 Go to previous messageGo to next message
Eclipse UserFriend
For markup in table, tree or grid, it is necessary to align vertically, and hope the feature would be resolved soon as possible.
Re: middle align [message #1781225 is a reply to message #1781222] Sat, 03 February 2018 10:04 Go to previous messageGo to next message
Eclipse UserFriend
ok but What element is must set as markup?
Re: middle align [message #1849410 is a reply to message #1780695] Tue, 18 January 2022 11:06 Go to previous message
Eclipse UserFriend
Hi, for vertical alignment on table / tree, I see the css of div item contains for example

<div style="position: absolute; top: 5px;" ....>

to center item, could be used:

<div style="position: absolute; top: 50%; transform: translateY(-50%); ..>

I found this style here:
https://www.w3schools.com/howto/howto_css_center-vertical.asp

could this style used instead of current ?
Previous Topic: electronic signature
Next Topic:HighDPI / UIScaling Support in RAP
Goto Forum:
  


Current Time: Thu Apr 24 19:48:30 EDT 2025

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

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

Back to the top