You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
ScrollView: implement custom onMeasure()
This commit is contained in:
@@ -13,6 +13,7 @@ JNIEXPORT jlong JNICALL Java_android_widget_ScrollView_native_1constructor(JNIEn
|
||||
GtkWidget *scrolled_window = gtk_scrolled_window_new();
|
||||
wrapper_widget_set_child(WRAPPER_WIDGET(wrapper), scrolled_window);
|
||||
gtk_widget_set_name(scrolled_window, "ScrollView");
|
||||
(*env)->SetBooleanField(env, this, _FIELD_ID(_CLASS(this), "haveCustomMeasure", "Z"), true);
|
||||
return _INTPTR(scrolled_window);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user