Lines Matching refs:PushItemWidth
254 //ImGui::PushItemWidth(ImGui::GetWindowWidth() * 0.65f); // Use 2/3 of the space for widgets and 1/3 for labels (default)
255 ImGui::PushItemWidth(ImGui::GetFontSize() * -12); // Use fixed width for labels (by passing a negative value), the rest goes to widgets. We choose a width proportional to our font size.
545 //ImGui::PushItemWidth(-1);
998 ImGui::PushItemWidth(100); ImGui::Combo("func", &func_type, "Sin\0Saw\0"); ImGui::PopItemWidth();
1571 ImGui::PushItemWidth(100);
1645 ImGui::Text("PushItemWidth(100)");
1647 ImGui::PushItemWidth(100);
1651 ImGui::Text("PushItemWidth(GetWindowWidth() * 0.5f)");
1653 ImGui::PushItemWidth(ImGui::GetWindowWidth() * 0.5f);
1657 ImGui::Text("PushItemWidth(GetContentRegionAvailWidth() * 0.5f)");
1659 ImGui::PushItemWidth(ImGui::GetContentRegionAvailWidth() * 0.5f);
1663 ImGui::Text("PushItemWidth(-100)");
1665 ImGui::PushItemWidth(-100);
1669 ImGui::Text("PushItemWidth(-1)");
1671 ImGui::PushItemWidth(-1);
1719 ImGui::PushItemWidth(80);
1728 ImGui::PushItemWidth(80);
1943 ImGui::PushItemWidth(100);
2144 ImGui::PushItemWidth(-1);
2793 ImGui::PushItemWidth(ImGui::GetWindowWidth() * 0.50f);
2875 ImGui::SameLine(); ImGui::PushItemWidth(120); ImGui::Combo("##output_type", &output_dest, "To Clipboard\0To TTY\0"); ImGui::PopItemWidth();
2888 ImGui::PushItemWidth(-160);
2918 ImGui::PushItemWidth(120);
3002 ImGui::PushItemWidth(100);
3707 ImGui::PushItemWidth(-1);
3852 ImGui::PushItemWidth(200);
4277 ImGui::PushItemWidth(-1.0f);