cheeaun / max-tabs

A no-restart Firefox extension to set maximum number of opened tabs in a window.
https://addons.mozilla.org/en-US/firefox/addon/max-tabs/
8 stars 20 forks source link

Make button width adaptive #4

Closed cheeaun closed 9 years ago

cheeaun commented 9 years ago

Currently, the button width is hard-coded to 30 pixels. It should adapt to the width of the numbers, especially when the user set the max limit to a huge number e.g.: 10/100.

Screenshot of cropped text in the button

The numbers are cropped due to the hard-coded width.

cheeaun commented 9 years ago

Fixed in latest version. It now becomes a (fixed-width) button with numbers on top.