mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
node: Limit width of out variable access node
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user