Re: [Flex JS] Label's text gets trimmed

2017-02-17 Thread Carlos Rovira
Ok Alex, one of my plans is to get over basic FlexJS components to style it. That means to implement theming, as I get to that task, I'll be tweaking that. Thanks 2017-02-17 16:59 GMT+01:00 Alex Harui : > > > On 2/17/17, 12:22 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" > > wrote:

Re: [Flex JS] Label's text gets trimmed

2017-02-17 Thread Alex Harui
On 2/17/17, 12:22 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Aside from the problem begin discussed, I continue thinking that generated >code should not have the verbose hardcoded styles that is shown and should >be created as CSS. I think for various reasons. > >1.- I don

Re: [Flex JS] Label's text gets trimmed

2017-02-17 Thread Carlos Rovira
Aside from the problem begin discussed, I continue thinking that generated code should not have the verbose hardcoded styles that is shown and should be created as CSS. I think for various reasons. 1.- I don't like CSS hardcoded in control/view component in source code 2.- that would make people u

Re: [Flex JS] Label's text gets trimmed

2017-02-16 Thread Justin Mclean
Hi, > I think this is the normal way HTML works No sure about that as if you do this: Hi there The space is displayed. The generated HTML does include the space however so it does look like a HTML issue: Hello, world Thanks, Justin

Re: [Flex JS] Label's text gets trimmed

2017-02-16 Thread OmPrakash Muppirala
Setting this style in CSS should fix this issue: white-space: pre or white-space: pre-wrap More options here: https://www.w3schools.com/cssref/pr_text_white-space.asp Thanks, Om 2017-02-16 10:39 GMT-08:00 Carlos Rovira : > Hi Justing, I think this is the normal way HTML works. > HTML removes w

Re: [Flex JS] Label's text gets trimmed

2017-02-16 Thread Carlos Rovira
Hi Justing, I think this is the normal way HTML works. HTML removes whitespaces. If you put lots of whitespace, HTML will remove them. So I think no much to do there for this kind of trys 2017-02-16 7:15 GMT+01:00 Justin Mclean : > Hi, > > This: > > > > > >

[Flex JS] Label's text gets trimmed

2017-02-15 Thread Justin Mclean
Hi, This: Gives this: (removing the space) Hello,world Rather than the expected: Hello, world In this case you could of course do something like this (although it's not quite the same): But there are other c