ImGui::TextWrapped("(This is testing the vertical alignment that occurs on text to keep it at the same baseline as widgets. Lines only composed of text or \"small\" widgets fit in less vertical spaces than lines with normal widgets)");
ImGui::Text("One\nTwo\nThree");ImGui::SameLine();
ImGui::Text("Hello\nWorld");ImGui::SameLine();
ImGui::Text("Banana");
ImGui::Text("Banana");ImGui::SameLine();
ImGui::Text("Hello\nWorld");ImGui::SameLine();
ImGui::Text("One\nTwo\nThree");
ImGui::Button("HOP");ImGui::SameLine();
ImGui::Text("Banana");ImGui::SameLine();
ImGui::Text("Hello\nWorld");ImGui::SameLine();
ImGui::Text("Banana");
ImGui::Button("HOP");ImGui::SameLine();
ImGui::Text("Hello\nWorld");ImGui::SameLine();
ImGui::Text("Banana");
staticfloatf=0.0f;
ImGui::Text("Fixed: 100 pixels");
ImGui::PushItemWidth(100);
ImGui::InputFloat("float##1",&f);
ImGui::PopItemWidth();
ImGui::Button("TEST");ImGui::SameLine();
ImGui::Text("TEST");ImGui::SameLine();
ImGui::SmallButton("TEST");
ImGui::Text("Proportional: 50%% of window width");
ImGui::TextWrapped("(This is testing the vertical alignment that occurs on text to keep it at the same baseline as widgets. Lines only composed of text or \"small\" widgets fit in less vertical spaces than lines with normal widgets)");
ImGui::Text("One\nTwo\nThree");ImGui::SameLine();
ImGui::Text("Hello\nWorld");ImGui::SameLine();
ImGui::Text("Banana");
ImGui::Text("Banana");ImGui::SameLine();
ImGui::Text("Hello\nWorld");ImGui::SameLine();
ImGui::Text("One\nTwo\nThree");
ImGui::Button("HOP");ImGui::SameLine();
ImGui::Text("Banana");ImGui::SameLine();
ImGui::Text("Hello\nWorld");ImGui::SameLine();
ImGui::Text("Banana");
ImGui::Button("HOP");ImGui::SameLine();
ImGui::Text("Hello\nWorld");ImGui::SameLine();
ImGui::Text("Banana");
ImGui::Button("TEST");ImGui::SameLine();
ImGui::Text("TEST");ImGui::SameLine();
ImGui::SmallButton("TEST");
ImGui::AlignFirstTextHeightToWidgets();// If your line starts with text, call this to align it to upcoming widgets.
ImGui::Text("Text aligned to Widget");ImGui::SameLine();