Message 67099

Author
nicoe
Date
2021-04-29.20:44:19
Message id
67099

Content

I had the idea to compute the number of rows based on the click to open a new tab on the menu.

That way the minimal number of rows is updated quite often, fore previously opened tabs it doesn't matter but for new tabs it will take into account the eventual new size of the window. Maybe we could plug some event to ensure that it is computed when the window is resized also.

I base the computation on the size of the treeview used for the menu as it's a treeview that we can be almost certain that it will be there. In case it's not realized then I used the default of 20 that ced proposed.

History
Date User Action Args
2021-04-29 20:44:19nicoesetmessageid: <1619721859.290097.LIFXEDBUEJ4F43OD.issue10043@tryton.org>
2021-04-29 20:44:19nicoesetrecipients: + ced, pokoli
2021-04-29 20:44:19nicoelinkissue10043 messages
2021-04-29 20:44:19nicoecreate

Showing 10 items. Show all history (warning: this could be VERY long)