Hi, Volker, the horizontal layout of the flex layout works so far. The proportions are exactly computed, I've just checked it again with firebug. There might be a little gap for the border, because the border is not taken into account the relation. This is a property of CSS3 flex.
In general Tobago 3 work different to Tobago 2. Tobago 2 layout was computed at a pixel base on server. Tobago 3 works with CSS. This is a change in the behavior with the advantages of be much more flexible, responsive, ... The vertical layout also works, but you must set a height to the container. Setting the height of the page automatically to the height of the window is a feature of Tobago 2. It's possible in Tobago 3, the patch demonstrates that. Please file a feature request to Jira (or I can also do that). Currently I havn't because non of my known Tobago 3 projects need this feature, but I would vote for it. Regards, Udo Am 02.12.16 um 13:31 schrieb Volker Weber: > Moving this to dev@ > > Udo, i don't think fixing the broken layout is a Feature. > > This is a Bug! > > If this patch fixes the issue with the vertical layout, please commit this. > What about the wrong horizontal layouting? In the example i declared the > layout as "1*;2*" but the right area are more than twice as wide as the > left. > > Regards, > Volker > > > Am 01.12.2016 um 13:52 schrieb Udo Schnurpfeil: >> Hallo Volker, >> >> anbei ein Patch, der das Layout so ermöglicht. Ist aber erstmal nur ein >> Versuch. Ist noch nicht alles 100%ig in Ordnung und man würde es >> vielleicht auch noch etwas anders machen. >> >> Es soll nur zeigen, dass es möglich ist. >> >> Ich würde die Anforderung gerne als Feature im Jira aufnehmen und dann >> nach dem Release implementieren. >> >> Die Zeit ist begrenzt und ich möchte mich darauf konzentrieren, Bugs zu >> fixen, die Konzepte zu überprüfen und aufzuräumen. Feature kommen dann >> mit dem 1. Featurerelease. >> >> Du hast vielleicht mitbekommen, dass wir planen "Semantik Versioning" ab >> Tobago 3 einzuführen (TOBAGO-1597). >> >> Gruß >> >> Udo >> >> >> Am 28.11.16 um 23:17 schrieb Volker Weber: >>> Hallo Udo, >>> >>> ich habe eine xhtml angehängt, es sollte die volle Browser größe (Höhe >>> und Breite) nutzen. >>> >>> Unten 20px StatusZeile >>> Darüber horizontal in 1*;2* >>> Links zwei tc:box die sich den Rest der Höhe im Verhältnis 4*;1* >>> teilen, >>> Rechts eine tc:box auf voller Höhe. >>> >>> Die beiden linken Boxen sind gleich hoch (statt 4 zu 1) und zusammen >>> nicht auf voller Höhe des Browser Fensters. >>> Auch das horizontale Layout ist falsch, die Rechte Box ist mehr als >>> doppelt so breit wie die beiden linken. >>> >>> Was muss ich machen um so ein Layout hin zu bekommen? >>> >>> Gruß Volker >>> >>> >>> >>> Am 28.11.2016 um 21:38 schrieb Udo Schnurpfeil: >>>> offenbar fehlte dem Jetty die JCDI API... >>> >>> > > > -- > inexso - information exchange solutions GmbH > Ofener Straße 30 | 26121 Oldenburg > www.inexso.de <http://www.inexso.de>
