commit | bcf8542e68a04dc35da3b03258b626ff5b213511 | [log] [tgz] |
---|---|---|
author | Claudio Guglielmo <claudio.guglielmo@bsiag.com> | Mon Mar 11 17:25:33 2019 +0100 |
committer | Claudio Guglielmo <claudio.guglielmo@bsiag.com> | Mon Mar 11 18:42:01 2019 +0100 |
tree | a09ba0d48facf35ce60b56f94c22620e087f9378 | |
parent | bd741acabd222e0671442938d79980e0e79f9242 [diff] |
Tree: wrong node width when rendered while invisible Use case: TreeField inside a WrappedFormField on a dialog. The wrapped form field is invisible, the innerForm is set and afterwards the field made invisible (formField.setInnerForm(form); formField.setVisible()). -> the tree is rendered before it is made visible. -> normally, the group box tries to render the controls before rendering the visible flag. To fix it, renderViewPort is not executed if the tree is invisible. As soon as the tree will get visible, the layout will be executed which calls renderViewPort. The table has a similar problem. The scroll height will be wrong because of a wrong row height. The renderViewport in TableLayout.prefSize is necessary for the following case: Set useUiHeight to true, make table invisible, add some rows, make table visible again -> prefSize would be too small because rows are not rendered when prefSize is called. This is not necessary for the tree because the nodes are already inserted (by _addToVisibleFlatList). 233333
[Eclipse Scout] 1 is a mature and open framework for modern, service oriented business applications. It substantially boosts developer productivity and is simple to learn.
This Repository Eclipse Scout RT contains the source for the runtime components embedded in the applications build on top of the Eclipse Scout Framework.
The content of this repository is build on the Eclipse infrastructure and the different versions are available on several [P2 Update Sites] 2.
The easiest way to start with Eclipse Scout is to download Eclipse for Scout Developers Eclipse for Scout Developers on the [Eclipse downloads page] 3.
We welcome any kind of contributions (Bug report, documentation, code contribution...). Please read the [Eclipse Scout Contribution page] 7 to know more about it.
The contribution process of Eclipse Scout is hosted on tools deployed by the Eclipse Foundation (involing [Bugzilla] 6, Gerrit, Hudson, MediaWiki...).
External tools like the GitHub tracker and pull requests are not supported.
To get in touch with the Eclipse Scout community, please open a thread in the [Eclipse Scout Forum] 5 or send a mail to [our mailing list] 8: scout-dev@eclipse.org
[Eclipse Public License (EPL) v1.0] 9