Derived from: public BMenuField, public FSLeftLabelView
Declared in: FSMenuField.h
Library: none
BMenuField-derived class which provides font-sensitivity.
FSMenuField(const char* name, const char* label, BMenu* menu, bool fixed_size = false, uint32 resize = B_FOLLOW_LEFT|B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW|B_NAVIGABLE)
Creates a FSMenuField at the minimum size necessary to accommodate the label and the widest menu item.
float WidestStringWidth()
Returns the width of the widest label of any item in the menu. If the menu is hierarchical, it also traverses down into the submenus recursively to find the widest item label.
By Brian Tietz
Copyright 2000
Bug reports (including documentation errors) and feature requests can be sent to briant@timelinevista.com.