Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2020-10-21 13:18:30 +0300
committerJulian Eisel <julian@blender.org>2020-10-21 18:25:37 +0300
commit187cc5e26d28b1a89e667915fa3a458f32f7f4a9 (patch)
tree7193a82a4a2f213528deed7160a04d67271a7dab /release/scripts/startup/bl_ui/space_properties.py
parentdd82a0d6239124a14bb554296364f6c951a8491e (diff)
UI: Move Properties path pin button next to the data-path
The pin button should be next to the data-path, which is what it belongs to. Note that this makes the placement of the search button in the header look quite off. That is because it's centered to the absolute header width, not the width of the main region (which is smaller because of the tab region on the left). Technically it's correct that way, visually it looks wrong. This will be addressed in a followup commit.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_properties.py')
-rw-r--r--release/scripts/startup/bl_ui/space_properties.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_properties.py b/release/scripts/startup/bl_ui/space_properties.py
index fe5057bed5d..4b1bfbbf1f2 100644
--- a/release/scripts/startup/bl_ui/space_properties.py
+++ b/release/scripts/startup/bl_ui/space_properties.py
@@ -35,10 +35,6 @@ class PROPERTIES_HT_header(Header):
layout.separator_spacer()
- row = layout.row()
- row.emboss = 'NONE'
- row.operator("buttons.toggle_pin", icon=('PINNED' if view.use_pin_id else 'UNPINNED'), text="")
-
class PROPERTIES_PT_navigation_bar(Panel):
bl_space_type = 'PROPERTIES'