UI: Fix Indentation Issue in Asset Browser #118159

Merged
Harley Acheson merged 1 commits from Harley/blender:FixAssetIndentation into blender-v4.1-release 2024-02-12 21:16:38 +01:00
1 changed files with 0 additions and 5 deletions

View File

@ -733,11 +733,6 @@ void BasicTreeViewItem::build_row(uiLayout &row)
void BasicTreeViewItem::add_label(uiLayout &layout, StringRefNull label_override)
{
const StringRefNull label = label_override.is_empty() ? StringRefNull(label_) : label_override;
/* Some padding for labels without collapse chevron and no icon. Looks weird without. */
if (icon == ICON_NONE && !is_collapsible()) {
uiItemS_ex(&layout, 0.8f);
}
uiItemL(&layout, IFACE_(label.c_str()), icon);
}