SenshiSentou / sd-webui-cardmaster

Card Master extension for A1111 Web UI
The Unlicense
44 stars 2 forks source link

[feature request] font size #5

Open rjgoif opened 8 months ago

rjgoif commented 8 months ago

Some model names (especially LORAs) are too long to fit on the card with current font size settings. Resizing the preview tiles also resizes the fonts, so that's no help. The file name runs off the edge of the card and is partially hidden, so you can't tell which version of the model you are selecting.

Can we get an option to change the font size in relation to the thumbnail size? It can be buried in the settings portion of A1111, as it shouldn't need to be adjusted dynamically often.

Another alternative would be a mouseover that shows the whole name, but that is probably harder than just setting the font size relatively.

SenshiSentou commented 8 months ago

I actually really like the mouseover idea; I might give that a go after I finish my work on my state manager extension. In the meantime, there is a setting in Extra Networks > Card text scale (requires a reload of the webui to update). Does that do what you had in mind or were you imagining it working differently?

rjgoif commented 8 months ago

Does that do what you had in mind or were you imagining it working differently?

Of course that is just what I was looking for! I hate that I asked a question with such a clear solution already, but I am glad you pointed it out to me.

SenshiSentou commented 8 months ago

Ha, glad to hear! No worries; A1111 has a ton of really useful, powerful stuff that is either not documented, or hidden away behind settings menus and --flags :p

Keeping this issue open so I don't forget to implement the mouseover detail view later

SenshiSentou commented 7 months ago

Just updated this to V2.0 (and renamed it). The whole detail view thing did get a bit out of hand, but hopefully one of the three options now available tickles your fancy! :p