Tom Arn

Results 27 comments of Tom Arn

With this rehint method, all table data is shown, but the columns are wider than necessary: ``` def rehint(self): self.native.measure( View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED, ) self.interface.intrinsic.width = at_least(self.native.getMeasuredWidth()) ``` `my_table.intrinsic.width` now is...

Are there any news on this bug?

@mhsmith I use the data URL `data:text/html` which does not need to be encoded. Besides that, according to the Toga docs, this parameter is ignored on Android anyway. I use...

@mhsmith Yes, the workaround is working! Thanks again

I can contribute notifications for Android: https://www.tanapro.ch/products/taTogaLib/docs/html/system/notifications.html

@freakboy3742 Where would we place the notification code in Toga? I'm thinking of a notification module in the system package, e.g. from toga.system.notification import Notification, NotificationManager

How should we handle the icon? I think, it should be relatively easy to provide a default icon for every platform, probably the "info" icon or maybe (if I can...

> I'm not sure what else you're anticipating being a "system" capability I'm thinking about clipboard access, power management (e.g. for keeping an Android app awake), permissions management. > is...

@mhsmith I tried to use R.drawable.ic_launcher as Icon reference, but got following error: `type object 'R$drawable' has no attribute 'ic_launcher'` In Resources.getIdentifier(), I need to specify `package` and `type`. What...