Adjust zone name shortening option names.

"Always full" was kinda ambiguous. It could either mean that the name will be
always full (shortening effectively disabled), or that the shortening will be
performed to the maximum extent (as it was).
This commit is contained in:
Bartosz Taudul 2022-08-15 20:47:59 +02:00
parent c4324873b2
commit 257a836dc7
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -225,11 +225,11 @@ void View::DrawOptions()
ImGui::TextUnformatted( ICON_FA_RULER_HORIZONTAL " Zone name shortening" );
ImGui::Indent();
ImGui::PushStyleVar( ImGuiStyleVar_FramePadding, ImVec2( 0, 0 ) );
ImGui::RadioButton( "Never", &ival, 0 );
ImGui::RadioButton( "Always full", &ival, 1 );
ImGui::RadioButton( "Disabled", &ival, 0 );
ImGui::RadioButton( "Minimal length", &ival, 1 );
ImGui::RadioButton( "Only normalize", &ival, 2 );
ImGui::RadioButton( "No space", &ival, 3 );
ImGui::RadioButton( "No space + normalize", &ival, 4 );
ImGui::RadioButton( "As needed", &ival, 3 );
ImGui::RadioButton( "As needed + normalize", &ival, 4 );
ImGui::PopStyleVar();
ImGui::Unindent();
m_shortenName = (ShortenName)ival;