Warn about non-integer font sizes
This commit is contained in:
parent
b545fbffd5
commit
62b6b57b8d
|
@ -44,7 +44,6 @@ static inline void render_table(ImFont* monospace_font, std::vector<LogcatEntry>
|
|||
if (ImGui::TableSetColumnIndex(7)) ImGui::TextUnformatted(logcat_entry->message);
|
||||
}
|
||||
}
|
||||
clipper.End();
|
||||
|
||||
ImGui::PopFont();
|
||||
if (ImGui::GetScrollY() >= ImGui::GetScrollMaxY()) {
|
||||
|
|
|
@ -21,7 +21,7 @@ void settings_window(Config& active_config, Config& inactive_config, bool* p_ope
|
|||
ImGui::TextUnformatted("Logcat command only takes effect when logcat is not running");
|
||||
ImGui::InputTextWithHint("Logcat command", default_logcat_command, &inactive_config.logcat_command);
|
||||
|
||||
ImGui::Text("Font sizes only take effect when LogMeow is restarted");
|
||||
ImGui::TextWrapped("Font sizes only take effect when LogMeow is restarted (using non-integer values may cause spacing issues)");
|
||||
#ifdef USE_FONTCONFIG
|
||||
ImGui::InputFloat("Normal font size", &inactive_config.normal_font_size, 0.5f, 1.0f, "%.3f");
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue