Opened 7 years ago
Last modified 19 months ago
#13882 new enhancement
[BColumnListView] Default Fields scale nicer than customize
Reported by: | Janus | Owned by: | stippi |
---|---|---|---|
Priority: | low | Milestone: | Unscheduled |
Component: | User Interface | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
I have notice that the default behavior of some fields is much nicer than the customized one. In most part now for the size field we use the string_to_size() function that does not scale well with the resize of the column. I wrote this as a reminder to see if we can improve the situation.
Customized
Default
I have fallen in love with BeOS over these little details...
Attachments (2)
Change History (8)
by , 7 years ago
Attachment: | Customize.gif added |
---|
comment:1 by , 7 years ago
patch: | 0 → 1 |
---|
by , 7 years ago
Attachment: | Default.gif added |
---|
comment:2 by , 7 years ago
Description: | modified (diff) |
---|
comment:3 by , 7 years ago
Description: | modified (diff) |
---|
comment:4 by , 7 years ago
Description: | modified (diff) |
---|
comment:5 by , 7 years ago
patch: | 1 → 0 |
---|
comment:6 by , 19 months ago
Note:
See TracTickets
for help on using tickets.
I think there is nothing wrong with ColumnListView here, each application using custom fields has to do the conversion to string in an intelligent way to have the string fit in the allowed space. The custom items have full control over this in their DrawItem function: they know the allocated space (BRect) and what they want to draw.
Only BStringColumn does the "simple" truncation, so if you want something smarter, don't subclass from BStringColumn and you can compute a string that fits the allocated space as nicely as possible.
So: are there any apps in Haiku that hit this problem? If not, there is nothing left to do on our side for this ticket.