[bisq-network/bisq] Size the offer book on window activation (#4031)

James Cox notifications at github.com
Fri Mar 6 14:58:31 UTC 2020


Fixes #4030 

Currently the offer book tables are only being sized when the window proportions change.  However if the window is made bigger before the offer book is opened, then the tables are not resized from their default.

Other windows (for example Market -> Trades) solve this by make a sizing call in the `activate` method.    In order to do this the sizing code is separated into a `layout` method where it can be called from both `activate` and the existing `heightProperty` listener.  The same approach is taken here.
You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/4031

-- Commit Summary --

  * fixes #4030

-- File Changes --

    M desktop/src/main/java/bisq/desktop/main/market/offerbook/OfferBookChartView.java (23)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/4031.patch
https://github.com/bisq-network/bisq/pull/4031.diff

-- 
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/pull/4031
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200306/0e3209e5/attachment.html>


More information about the bisq-github mailing list