Opened 11 years ago

Last modified 11 years ago

#11674 confirmed New Feature

Tableresize - allow percent-based values

Reported by: Vladimir Pluzhnikov Owned by:
Priority: Normal Milestone:
Component: Core : Tables Version: 4.0
Keywords: Cc:

Description

It would be nice if tableresize allowed to set column widths in percent instead of pixels. Of course, it should be configurable.

Change History (1)

comment:1 Changed 11 years ago by Jakub Ś

Status: newconfirmed
Version: 4.3.44.0

I'm confirming this issue as it makes sense but this is very hard to implement and there is very little chance we will work on it in near future.

Resizing is done in pixels so we would have to know how many px == 1% based on direct parent width. The problem is that this value can change when parent container is resized and has to be recalculated again and again. This could be troublesome when CKEditor body would be direct parent and editor would be resizable. I'm not sure how efficient this would be.

Perhaps another approach would be calculating % based on mouse position after resize end.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy