Small visual changes to left scroll view. Fixes #8659.
Fixed width of left scroll view. Added padding to list items. Thanks yourpalal for your hints.
This commit is contained in:
parent
62115b4772
commit
f437c10c48
@ -131,7 +131,7 @@ struct MediaListItem::Renderer {
|
|||||||
width += 8.0f;
|
width += 8.0f;
|
||||||
// space between icons and text
|
// space between icons and text
|
||||||
|
|
||||||
width += be_plain_font->StringWidth(fTitle) + 3.0f;
|
width += be_plain_font->StringWidth(fTitle) + 16.0f;
|
||||||
return width;
|
return width;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -405,7 +405,7 @@ MediaWindow::InitWindow()
|
|||||||
BLayoutBuilder::Group<>(this, B_HORIZONTAL)
|
BLayoutBuilder::Group<>(this, B_HORIZONTAL)
|
||||||
.SetInsets(B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING,
|
.SetInsets(B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING,
|
||||||
B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING)
|
B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING)
|
||||||
.Add(scrollView)
|
.Add(scrollView, 0.0f)
|
||||||
.AddGroup(B_VERTICAL)
|
.AddGroup(B_VERTICAL)
|
||||||
.SetInsets(0, 0, 0, 0)
|
.SetInsets(0, 0, 0, 0)
|
||||||
.Add(fTitleView)
|
.Add(fTitleView)
|
||||||
|
Loading…
Reference in New Issue
Block a user