Nice example! :) I thought that phone itself is picture but after looking at code realized that it is actually completely vector graphics! You identified a few encountered issues. Could you describe them in more details and explain why the yare issues for you? For example, why you see an issue that padding and margin only work with BlLinearLayoutParams? (maybe you mistyped, margin and padding work only depending on layout. they only make sense to some spefici layouts)
- in major cases, a BlElement must have a BlLinearLayoutParams to work well - margin and padding work only with BlLinearLayoutParams
- stroke's width is not included in the inner bounds (already mentioned in
a previous post)
Indeed. However, this is a general problem in vector graphics. Interesting reading: http://tavmjong.free.fr/blog/?p=1257. <http://tavmjong.free.fr/blog/?p=1257.>
- some problems with alignment in specific cases
Maybe a bug. Could you post an example? - no SVG support Exactly, it is not implemented ;) Thanks, keep it up! Cheers, Alex On Tue, Mar 29, 2016 at 10:34 AM, Glenn Cavarlé <glenn@cavarle.fr> wrote:
Hi,
Just a new example using Bloc.
<http://forum.world.st/file/n4887079/bloc-mobile.png>
Sources at: http://smalltalkhub.com/#!/~GlennCavarle/SomeBlocExamples <http://smalltalkhub.com/#!/~GlennCavarle/SomeBlocExamples>
*Main identified issues :* - in major cases, a BlElement must have a BlLinearLayoutParams to work well - margin and padding work only with BlLinearLayoutParams - stroke's width is not included in the inner bounds (already mentioned in a previous post) - some problems with alignment in specific cases - no SVG support
I will try to solve them soon.
Cheers,
----- Glenn Cavarlé -- View this message in context: http://forum.world.st/Bloc-A-mobile-device-using-Bloc-tp4887079.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.