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:
authorAaron Carlisle <carlisle.b3d@gmail.com>2021-12-29 19:16:18 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2021-12-29 19:16:44 +0300
commitd5b77fd52279f47c27ffa9bd44c4e7b91b7b7f60 (patch)
treea3bdcb8959de909e2387e1a2c9e5b2757d8ab6dd /source/blender/editors/space_node/drawnode.cc
parent1c7d7c915063c7f7c6c960aa843a33f3716debbe (diff)
Nodes: Composite: UI fixes to time node
- Use default size consistent with other curve nodes - Use column instead of row for properties
Diffstat (limited to 'source/blender/editors/space_node/drawnode.cc')
-rw-r--r--source/blender/editors/space_node/drawnode.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_node/drawnode.cc b/source/blender/editors/space_node/drawnode.cc
index 5d6a73b436c..5bb5320655b 100644
--- a/source/blender/editors/space_node/drawnode.cc
+++ b/source/blender/editors/space_node/drawnode.cc
@@ -138,9 +138,9 @@ static void node_buts_time(uiLayout *layout, bContext *UNUSED(C), PointerRNA *pt
{
uiTemplateCurveMapping(layout, ptr, "curve", 's', false, false, false, false);
- uiLayout *row = uiLayoutRow(layout, true);
- uiItemR(row, ptr, "frame_start", DEFAULT_FLAGS, IFACE_("Start"), ICON_NONE);
- uiItemR(row, ptr, "frame_end", DEFAULT_FLAGS, IFACE_("End"), ICON_NONE);
+ uiLayout *col = uiLayoutColumn(layout, true);
+ uiItemR(col, ptr, "frame_start", DEFAULT_FLAGS, IFACE_("Start"), ICON_NONE);
+ uiItemR(col, ptr, "frame_end", DEFAULT_FLAGS, IFACE_("End"), ICON_NONE);
}
static void node_buts_colorramp(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)