From 0c8ae29b79c0391c9ff6ac806231e2dde890e55a Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 17 Mar 2018 21:30:46 +0000 Subject: Android: added text clipping in all its uglyness. Next: intersetcing a complex clipping region with a rectangle git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12769 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- ide/AndroidStudio3/app/src/main/cpp/HelloAndroid.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ide/AndroidStudio3') diff --git a/ide/AndroidStudio3/app/src/main/cpp/HelloAndroid.cxx b/ide/AndroidStudio3/app/src/main/cpp/HelloAndroid.cxx index 32aad9294..6fc009043 100644 --- a/ide/AndroidStudio3/app/src/main/cpp/HelloAndroid.cxx +++ b/ide/AndroidStudio3/app/src/main/cpp/HelloAndroid.cxx @@ -68,9 +68,10 @@ int main(int argc, char **argv) btn2 = new Fl_Button(10, 10, 480, 100, "-@circle;-"); btn2->color(FL_BLUE); - btn = new MyButton((win->w()-280)/2, 200-45, 280, 80, "Hello, Android!\nWhere were you?"); + btn = new MyButton((win->w()-280)/2, 200-45, 280, 80, "Hello, Android!\nWhere have you been so long?"); btn->color(FL_LIGHT2); btn->labelsize(30); + btn->align(FL_ALIGN_CLIP); btn->callback( [](Fl_Widget*, void*) { Fl::add_timeout(1.0, hello_cb, NULL); -- cgit v1.2.3