| 917 | } |
| 918 | |
| 919 | void TextBox::set_max_width(float newWidth) { |
| 920 | if(width != newWidth) { |
| 921 | width = std::max(newWidth, 4.0f); |
| 922 | needsRebuild = true; |
| 923 | } |
| 924 | } |
| 925 | |
| 926 | void TextBox::set_max_height(float newMaxHeight) { |
| 927 | if(maxHeight != newMaxHeight) { |
no outgoing calls
no test coverage detected