mirror of https://github.com/WerWolv/ImHex.git
node: Limit width of out variable access node
This commit is contained in:
parent
d17911d753
commit
7331b8d5ae
|
@ -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") }) { }
|
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 {
|
void drawNode() override {
|
||||||
|
ImGui::PushItemWidth(100);
|
||||||
ImGui::InputText("##name", this->m_name);
|
ImGui::InputText("##name", this->m_name);
|
||||||
|
ImGui::PopItemWidth();
|
||||||
}
|
}
|
||||||
|
|
||||||
void process() override {
|
void process() override {
|
||||||
|
|
Loading…
Reference in New Issue