* Set additional pre/inter/post space for the container. * * @param pip_ratio_pre Ratio of additional space in front of the first child widget (above * for the vertical container, at the left for the horizontal container). * @param pip_ratio_inter Ratio of additional space between two child widgets. * @param pip_ratio_post Ratio of additional space after the last chi
| 1554 | * vertical container, at the right for the horizontal container). |
| 1555 | */ |
| 1556 | void NWidgetPIPContainer::SetPIPRatio(uint8_t pip_ratio_pre, uint8_t pip_ratio_inter, uint8_t pip_ratio_post) |
| 1557 | { |
| 1558 | this->pip_ratio_pre = pip_ratio_pre; |
| 1559 | this->pip_ratio_inter = pip_ratio_inter; |
| 1560 | this->pip_ratio_post = pip_ratio_post; |
| 1561 | } |
| 1562 | |
| 1563 | void NWidgetHorizontal::SetupSmallestSize(Window *w) |
| 1564 | { |
no outgoing calls
no test coverage detected