MCPcopy Create free account
hub / github.com/MyGUI/mygui / setButtonWidth

Method setButtonWidth

MyGUIEngine/src/MyGUI_TabItem.cpp:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 }
46
47 void TabItem::setButtonWidth(int _width)
48 {
49 TabControl* owner = getParent() != nullptr ? getParent()->castType<TabControl>(false) : nullptr;
50 if (owner != nullptr)
51 owner->setButtonWidth(this, _width);
52 }
53
54 void TabItem::setPropertyOverride(std::string_view _key, std::string_view _value)
55 {

Calls

no outgoing calls

Tested by

no test coverage detected