BStringView: add support for multiline strings

* Actually draw the string at the bottom of the frame.
* Unfortunately BStringList cannot be cached because there is no
  space left in the class.
* Change SGI and PNG translators to use it in place of BTextView.

Change-Id: I07e12bf1a8dc956d18c9624604c7b63453ad15a2
Reviewed-on: https://review.haiku-os.org/620
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Kacper Kasper
2018-11-03 16:44:10 +00:00
committed by waddlesplash
parent 22e03e588e
commit 800e6fe412
5 changed files with 73 additions and 68 deletions
+1
View File
@@ -79,6 +79,7 @@ private:
private:
BSize _ValidatePreferredSize();
float _StringWidth(const char* text);
private:
char* fText;