diff options
author | Sebastian Geerken <devnull@localhost> | 2016-01-09 18:00:46 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2016-01-09 18:00:46 +0100 |
commit | c122d6384e6197aa6fc2a0500dfb3271c44cd07a (patch) | |
tree | 01a88be6bdd928ade214883cfbdf96b3d0598d4b /dw/textblock.hh | |
parent | 9e5ef05a592d637f115b8a8b0b61da940d7bbbe4 (diff) |
Widget::calcExtraSpace is only called for size, not for extremes.
Diffstat (limited to 'dw/textblock.hh')
-rw-r--r-- | dw/textblock.hh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dw/textblock.hh b/dw/textblock.hh index 2346f22d..91ecbd7a 100644 --- a/dw/textblock.hh +++ b/dw/textblock.hh @@ -128,6 +128,8 @@ namespace dw { * Widget::extraSpace should fix this, but it is only fully working * in the GROWS branch (<http://flpsed.org/hgweb/dillo_grows>). * + * Update: This needs to be re-evaluated. + * * - Do margins of inline blocks and tables collapse? Check CSS * spec. (They do currently; if not, ignoring them is simple.) * @@ -831,8 +833,7 @@ protected: void sizeAllocateImpl (core::Allocation *allocation); - void calcExtraSpaceImpl (bool vertical, int numPos, Widget **references, - int *x, int *y); + void calcExtraSpaceImpl (int numPos, Widget **references, int *x, int *y); int getAvailWidthOfChild (core::Widget *child, bool forceValue); int getAvailHeightOfChild (core::Widget *child, bool forceValue); |