[Question] Minimum label width? #58

Closed
opened 2026-02-04 16:55:01 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @Syndamia on GitHub (Jan 7, 2021).

Recently I noticed that it seems as if labels have a minimum width of 4 characters.

In this example, 123 and 1234 have different amount of characters, but the width of the labels is the same:
image

Is this intentional or is this a bug? Also, if intentional, why minimum width of 4 characters, instead of 3 or 2?

Originally created by @Syndamia on GitHub (Jan 7, 2021). Recently I noticed that it seems as if labels have a minimum width of 4 characters. In this example, `123` and `1234` have different amount of characters, but the width of the labels is the same: ![image](https://user-images.githubusercontent.com/46843671/103890466-cdcbf100-50f0-11eb-92cf-04d7dc0fe431.png) Is this intentional or is this a bug? Also, if intentional, why minimum width of 4 characters, instead of 3 or 2?
OVERLORD added the enhancement label 2026-02-04 16:55:01 +03:00
Author
Owner

@nickbe commented on GitHub (Jan 7, 2021):

The label wrapper in the board seems to have a minimum width of 40px. Changing would not be a problem.

@meltyshev Could you check if this is needed or could be further reduced to 20 px?

@nickbe commented on GitHub (Jan 7, 2021): The label wrapper in the board seems to have a minimum width of 40px. Changing would not be a problem. @meltyshev Could you check if this is needed or could be further reduced to 20 px?
Author
Owner

@meltyshev commented on GitHub (Jan 7, 2021):

Ah, I did it because a label may not have a text inside it. Do you think that it should adjust the text width unless it's not empty?

@meltyshev commented on GitHub (Jan 7, 2021): Ah, I did it because a label may not have a text inside it. Do you think that it should adjust the text width unless it's not empty?
Author
Owner

@Syndamia commented on GitHub (Jan 7, 2021):

adjust the text width unless it's not empty

I think this will be perfect

@Syndamia commented on GitHub (Jan 7, 2021): > adjust the text width unless it's not empty I think this will be perfect
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#58