Facepunch / sbox-issues

175 stars 12 forks source link

Dnyamically line-wrap or scroll asset names in asset browser #2969

Open DoctorGurke opened 1 year ago

DoctorGurke commented 1 year ago

For?

S&Box

What can't you do?

The asset browser cuts off asset names a bunch because the label is pretty short. This is on the max icon size on 1440p showing default assets. Note how it cuts off the type extension in most cases, and in some even part of the actual name.

sbox-dev_vNztMaTXeI

How would you like it to work?

One way would be to line-wrap the labels somehow. This would increase the height of the label however and therefore potentially lead to inconsistent list gaps.

An alternative would be to scroll the text left-to-right while the asset is hovered.

What have you tried?

To see the full name of an asset, it needs to be selected and viewed in the inspector. But even that ui can become cutoff if the name is too long.

sbox-dev_WRumqsgvPm

Additional context

No response

DoctorGurke commented 1 year ago

2363