JavaWidget: add css classes and default_stylesheet.css

This commit is contained in:
Daniel Panero
2024-11-18 14:08:07 +01:00
parent d6d2c94abd
commit be93b4c396
11 changed files with 202 additions and 4 deletions

View File

@@ -51,4 +51,6 @@ JNIEXPORT void JNICALL Java_android_widget_ImageButton_native_1setDrawable(JNIEn
GtkPicture *picture = GTK_PICTURE(gtk_button_get_child(GTK_BUTTON(button)));
GdkPaintable *paintable = _PTR(paintable_ptr);
gtk_picture_set_paintable(picture, paintable);
gtk_widget_add_css_class(GTK_WIDGET(button), "ATL-no-border");
}