qgis / QGIS-Plugins-Website

GNU General Public License v2.0
0 stars 1 forks source link

Show number of pages in pagination #22

Closed kannes closed 1 week ago

kannes commented 1 month ago

The pagination bar only shows textual descriptions for "First" and "Last", no "1" and (e.g.) "32". On the first page it can appear like only 3 pages exist, because only 1, 2 and 3 are named with buttons.

It would be great to have the first and last page shown with their number too.

image

I am not sure where it would be best, maybe on the First and Last buttons directly, or with additional buttons if space permits?

image

Maybe it is a stupid idea :)

Xpirix commented 1 week ago

Hi @kannes,

It's a good idea. I suggest showing the first and last page numbers as additional buttons and removing the First and Last buttons. Here is a screenshot of the update:

image
kannes commented 1 week ago

That looks great!