Skip to content

Allow customizing list entry height #22

Open

Description

@Teknomancer

I know we will eventually will be switching to BColumnListView (or whatever Haiku has) but that's a much larger and more pervasive change and is a long-term action item.

The height calculation logic already seems makes to respect the font-height internally (derived from BListItem) but it would be nice to have a few extra choices like: Compact, Normal, Relaxed and Loose. This would be presented to the user as a BMenuField option in Interface settings.

Refer ListEntry.h kListEntryHeight. This is passed in as a minimum height each list entry (row) in the archive list has. A value of 20.0 is still quite tightly packed at least with the font-size I'm using, having a few more options would be good.

This requires a bit of experimentation with different font sizes. The padding should probably be relative to the font size. This may require modifying CLVListItem::Update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions