GUI: span avail width
This commit is contained in:
parent
fbe5b74cc6
commit
056fd04c95
|
@ -41,7 +41,7 @@ void FurnaceGUI::drawSysDefs(std::vector<FurnaceGUISysDef>& category, bool& acce
|
||||||
} else {
|
} else {
|
||||||
sysDefID=fmt::sprintf("%s/%dS",sysDefIDLeader,index);
|
sysDefID=fmt::sprintf("%s/%dS",sysDefIDLeader,index);
|
||||||
}
|
}
|
||||||
treeNode=ImGui::TreeNode(sysDefID.c_str());
|
treeNode=ImGui::TreeNodeEx(sysDefID.c_str(),i.orig.empty()?ImGuiTreeNodeFlags_SpanAvailWidth:0);
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
}
|
}
|
||||||
if (!i.orig.empty()) {
|
if (!i.orig.empty()) {
|
||||||
|
|
Loading…
Reference in a new issue