mirror of
https://github.com/LibreOffice/core.git
synced 2025-08-02 04:50:01 +00:00

Drop the `lower` param for weld::ScrolledWindow::hadjustment_configure and weld::ScrolledWindow::vadjustment_configure which is always 0 anyway. While GtkScrolledwindow and QScrollArea both use the dimensions of the contained widget by default, GtkScrolledWindow supports using values disconnected from those (by using a GtkAdjustment with "arbitrary" values for each dimension) and the LO weld::ScrolledWindow is designed after those semantics. Using values disconnected to the size of the contained widget doesn't map well to QScrollArea semantics. Drop the always 0 minimum value, to have at least one aspect less that needs to be supported/cared about when considering how to implement the necessary logic in QtInstanceScrolledWindow for the case of using custom values (as is done e.g. in the Special Characters dialog). Change-Id: Ia9ab1ae97a77df4efe1856350c1c824b20310896 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188723 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins