On 3/12/18, 10:11 AM, "[email protected] on behalf of Carlos Rovira"
<[email protected] on behalf of [email protected]> wrote:

>>
>> I still don't get why, if your Button is a subcomponent, some framework
>> code was setting display style on it unless you were using a layout
>>class
>> in the component itself.
>>
>
>that's the side effect of inline styling, as I put the button inside a
>vertical layout, the layout imposes display: block
>while my css dictates display: inline-block. The browser shows the later
>strikes out. For me that behavior can be right
>if I can change easily from CSS overriding rule, but not if is a line of
>code inside a framework that makes me override a whole class
>to change an inline style.

Just to be sure I understand, your goal was to use vertical layout but
make one child not layout vertically?  Sort of like "includeInLayout" in
Flex?

Handling exceptions usually requires more code.  So it sounds like you are
creating layouts that allow for exceptions, which seems like a reasonable
thing to do.  The existing layouts will be more simple (and essentially
stupid) but will do the job with the least code when exceptions are not
needed.

That's how I understand it.
-Alex

Reply via email to