Open amirrajan opened 8 years ago
My idea was to provide a default template implementing material design.
Only bring this up because I got tripped on on UI::Button
on :tap
wire up. I spun my wheels for a little bit because the tap event wasn't firing. It was because the UI::Button
didn't have a height.
concerning this specific case we should make sure the button has at least the size of its intrinsic size (text, image)
Should work with this commit on iOS : https://github.com/HipByte/Flow/commit/79749c71b793f9014e3978741b498c7511920234
Just a short list I'm keeping for reasonable defaults for different UI components.
UI::Button
default height?UI::Button
default background and foreground color?UI::View
default flex/flow direction?