[bisq-network/bisq] Fix setFitToRowsForTableView method or find alternative solution (#3824)

chimp1984 notifications at github.com
Sun Dec 22 01:11:48 UTC 2019


We use the `GUIUtil.setFitToRowsForTableView` method in many screens in the DAO section for auto-layout of the tables. The tables are inside of a GridPane container and do not auto-resize if the table gets filled. If w have 2 tables in a screen we want to define how much space the first table takes and how much the second table. The method is serving all that but there is some weird render bug which causes that if the user switch to another sub view (click on left naviagation) the screen switch does not work sometimes. It is not easy to reproduce but happens often enough to be annoying. After switching to another main screen and going back it usually works again.

One approach would be to find out what causes the problem in that method and fix that. I assume this is a bit hard to find out and would recommend to do it time-boxed (not worth 1 week of dev efforts). 

Another approach would be to find an alternative solution to our intention to scale the tables dependent on how they get filled with content. This is likely also not trivial if we stick with the Gridpane. To replace the Gridpane by a different container structure might be possible solution. The layout need to be the same if we go that path.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/issues/3824
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20191221/4ba28141/attachment.html>


More information about the bisq-github mailing list