ItemWeight
float ItemWeight(int32 index) const;
float ItemWeight(int32 index) const;
float ItemWeight(BLayoutItem* item) const;
if (settings.AddFloat("weight", view->ItemWeight(i)) != B_OK)
float weight = ItemWeight(item);
return ItemWeight(ItemAt(index));
float ItemWeight(int32 index) const;
float ItemWeight(BLayoutItem* item) const;
return fSplitLayout->ItemWeight(index);
return fSplitLayout->ItemWeight(item);
update.AddFloat("left_split_weight", fMainSplitView->ItemWeight((int32)0));
update.AddFloat("right_split_weight", fMainSplitView->ItemWeight(1));