From 7331b8d5ae5ccfca6bfa02a4e5ced9f9fe6c3e88 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 12 Oct 2022 12:24:54 +0200 Subject: [PATCH] node: Limit width of out variable access node --- plugins/builtin/source/content/data_processor_nodes.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/builtin/source/content/data_processor_nodes.cpp b/plugins/builtin/source/content/data_processor_nodes.cpp index bd3add798..aa1243e4e 100644 --- a/plugins/builtin/source/content/data_processor_nodes.cpp +++ b/plugins/builtin/source/content/data_processor_nodes.cpp @@ -1058,7 +1058,9 @@ namespace hex::plugin::builtin { NodePatternLanguageOutVariable() : Node("hex.builtin.nodes.pattern_language.out_var.header", { dp::Attribute(dp::Attribute::IOType::Out, dp::Attribute::Type::Buffer, "hex.builtin.nodes.common.output") }) { } void drawNode() override { + ImGui::PushItemWidth(100); ImGui::InputText("##name", this->m_name); + ImGui::PopItemWidth(); } void process() override {