Ticket #1577 (accepted enhancement)

Opened 7 months ago

Last modified 3 months ago

New layouting in Tk5 needs more documentation

Reported by: Mauno Haukila Owned by: Jouni Koivuviita
Priority: critical Milestone: IT Mill Sponsored Backlog
Component: Documentation Version:
Keywords: Cc: miki.wiik, jani.laakso@…
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: no Contract:

Description

There is this setMargit(boolean) method in Layout. What if I add css margin and set setMargin(false)?. How should we theme now margins and spacings? When is setMargin(true) necessary?

Change History

Changed 7 months ago by Marko Gronroos

  • owner changed from marko.gronroos@itmill.com to Marko Gronroos
  • status changed from new to assigned

Changed 7 months ago by Marko Gronroos

  • status changed from assigned to accepted

Changed 6 months ago by Joonas Lehtinen

  • milestone set to User Interface Library 5.2.1

Changed 6 months ago by Jonas Granvik

It would be nice if there could be a tutorial which describes the best practises when coding common layout issues with TK5. Just a lot of clean examples on how to align layouts and components inside each other, styling questions like this and other real life situations you encounter when coding.

Changed 6 months ago by Joonas Lehtinen

  • milestone changed from User Interface Library 5.2 backlog to User Interface Library 5.2.2

Milestone User Interface Library 5.2 backlog deleted

Changed 6 months ago by Joonas Lehtinen

  • priority changed from undefined to minor

Changed 6 months ago by miki.wiik

  • cc miki.wiik added

Changed 6 months ago by Jani Laakso

  • cc jani.laakso@… added

Changed 5 months ago by Jouni Koivuviita

  • owner changed from Marko Gronroos to Jouni Koivuviita

Article stub found from Articles/LayoutTutorial

Changed 5 months ago by Marko Gronroos

Needs also a Howto that includes very small and practical "Tips and Tricks" for doing specific layouts. Maybe /Articles/LayoutHowto should contain an index with short descriptions and specific articles below that. This should be easy to do and maintain by different contributors.

It would be nice to include simple diagrams of the layout principles.

Changed 5 months ago by Joonas Lehtinen

  • priority changed from minor to major
  • type changed from task to enhancement
  • milestone changed from User Interface Library 5 stable branch backlog to User Interface Library 5.3.0 RC1

This does not block stable release - moving to 5.3.

Jouni, should you move the ticket back to magi?

Changed 3 months ago by Joonas Lehtinen

  • priority changed from major to critical
  • milestone changed from User Interface Library 5.3.0 RC to IT Mill Sponsored Backlog

Really important, please do ASAP

Note: See TracTickets for help on using tickets.