Ticket #1267 (assigned enhancement)

Opened 12 months ago

Last modified 4 weeks ago

CoordinateLayout

Reported by: Joonas Lehtinen Owned by: ticketmaster
Priority: major Milestone: IT Mill Sponsored Backlog
Component: undefined Version:
Keywords: Cc:
Known Issue description:
Hours estimate: Deadline (dd.mm.yyyy):
Known Issue version (since): Known Issue title:
Hours done: Depends to:
Affects documentation: no
Known Issue workaround:
Affects release notes: yes Contract:

Description

Initial draft-level description of the idea:

Ideana on siis layoutti jossa annetaan lasten positiot koordinaatteina. Koordinaatit voi antaa joko ainostaan lapsen vasemalle yläkulmalle tai sekä vasemalle ylänurkalle että oikealle alanurkalle. Kukin koordinaatti voidaan antaa joko pikseleinä tai vaihtoehtoisesti prosentteina CoordinateLayoutin? korkeudesta/leveydestä. Lisäksi koordinaateille voi valita (kullekkin erikseen) referenssipisteeksi CoordinateLayoutin? vaseman ylänurkan sijasta oikea alanurkka.

Muutama toteutusdetaili: CoordinateLayoutin? overflow=auto. Jos lapsella on ympärˆivä divin koko määrätty, on sen overlow hidden. Lapset asetellaan ilman z-indeksiä, joten jälkeen tulleet ovat edellisten päällä. Toteutus vaatii coordinaattien laskennan browserissa.

Kuulostaa ensin mutkikkaalta, mutta kun tuota hiukan fundeeraa, niin tuolla saadaan tehty useimmat monimutkaisemmatkin layoutit siten että ne ovat jopa venytettävissä. Idea on kuitenkin erittäin helppo sisäistää jos layoutille tekee wysiwyg editorin!

Attachments

CoordinateLayout idea.pdf (74.1 kB) - added by Joonas Lehtinen 12 months ago.

Change History

Changed 12 months ago by Joonas Lehtinen

Changed 12 months ago by Joonas Lehtinen

  • type changed from defect to task

Changed 12 months ago by Joonas Lehtinen

  • priority changed from undefined to major

Based on Sami Web 2.0 report decided to put grated priosity for this in order to get RAD-features included asap.

Changed 12 months ago by Joonas Lehtinen

  • summary changed from CoordinateLayout to RAD: CoordinateLayout (pre-requisite for WYSIWYG editor)

Changed 11 months ago by Joonas Lehtinen

Mimic the layout-behavior of Flex Builder. Both UI and syntax.

Behavior: each component can have (allmost) any combination of top, bottom, left, right, width and height. This does exactly the same thing as proposed coordinatelayout, but is more intuitive as it closely corresponds to CSS. In fact, this might be possible to implement completely without javascript (IE using expressions)

UI: Just draw on wysiwyg -editor. Use guidelines. For each edge, mark if the distance from edge is fixed.

Changed 11 months ago by Joonas Lehtinen

  • milestone changed from Product Backlog to User Interface Library 5.2 enhancement candidates

Changed 10 months ago by Jani Laakso

  • type changed from task to enhancement

Changed 10 months ago by Jani Laakso

  • summary changed from RAD: CoordinateLayout (pre-requisite for WYSIWYG editor) to CoordinateLayout (pre-requisite for WYSIWYG editor)

Changed 9 months ago by Joonas Lehtinen

  • milestone changed from User Interface Library 5.2.0 to IT Mill Sponsored Backlog

Changed 8 months ago by Joonas Lehtinen

  • summary changed from CoordinateLayout (pre-requisite for WYSIWYG editor) to CoordinateLayout

Changed 7 months ago by Risto Yrjana

  • owner changed from Joonas Lehtinen to Risto Yrjana
  • status changed from new to accepted

Changed 5 months ago by Risto Yrjana

  • owner changed from Risto Yrjana to Joonas Lehtinen
  • status changed from accepted to assigned

Committed working implementation in [5127], moving the ticket to Joonas for review.

Changed 5 months ago by Joonas Lehtinen

  • owner changed from Joonas Lehtinen to Risto Yrjana

Reviewed.

Changed 3 months ago by Risto Yrjana

  • owner changed from Risto Yrjana to Joonas Lehtinen

Moved ticket to trunk for review in [5542]

Changed 3 months ago by Joonas Lehtinen

  • status changed from assigned to accepted

Changed 4 weeks ago by Joonas Lehtinen

  • owner changed from Joonas Lehtinen to ticketmaster
  • status changed from accepted to assigned

Unfortunately we have not had (yet) time to fully review and finalize coordinate layout to such extent that it could be included 5.3.0. Because trunk will become 5.3.0 and all new features should be finalized in branches after that point, coordinate layout should be moved to a branch.

Move task: #2346 Remove from trunk with [6214] Created a branch for CoordinateLayout?: http://dev.itmill.com/svn/branches/1267_CoordinateLayout [6215] [6216]

Note: See TracTickets for help on using tickets.