Post #1604: That video shows another way of making a toolbar. It’s using the User Preference
📋 Metadata
- Author: anphung
- Date: 2018-10-17 15:34:17
- Type:
answer - Quality Score: 8/10
- Reply to: post_01603
- Replies (1): post_01605
🏷️ Tags
popup-dialog panel-group ui-customization intermediate solved
⚙️ Related PME Features
- Popup Dialog Editor
- Panel Group Editor
- Operator binding
💬 Content
That video shows another way of making a toolbar. It’s using the User Preferences editor, so the Local View button won’t work.
You have to put the button in the 3D View.
To do that, you need to create a Popup Dialog, add your button (click on “Button”, Edit item, click on the 3-line button on the right, Operator, type in “local view”, OK).
Then create a Panel Group, set “Panel space” = 3D View, “Panel region” = Header.
Then click on Add Panel button, choose Popup Dialog, then type in the name of the Popup Dialog created earlier.
ButtonsIn3DViewHeader.gif1904×1015 694 KB
Menus made in the GIF:
3DViewHeaderToolbar.json (731 Bytes)