Text: revisada la classe
window_message: correcions
This commit is contained in:
@@ -19,7 +19,7 @@ auto ActionListOption::getValueAsString() const -> std::string {
|
||||
auto ActionListOption::getMaxValueWidth(Text* text) const -> int {
|
||||
int max_width = 0;
|
||||
for (const auto& option : options_) {
|
||||
int width = text->lenght(option, -2);
|
||||
int width = text->length(option, -2);
|
||||
if (width > max_width) {
|
||||
max_width = width;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user