Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After adding the StarRating widget the rest of the view stop render #2

Open
santiago16 opened this issue Apr 4, 2014 · 2 comments
Open

Comments

@santiago16
Copy link

After adding the StarRating widget the rest of the view stop render in alloy with the last version available right now.

The code in my controller is doing the init, and in the view I have:

        <Window title="Tab 3" id="tabRate" onFocus="loadImageToRate">
            <Label>Rate</Label>
            <Label text="L('welcome_message')"/>
            <Widget id="starwidget1" src="starrating" max="5" initialRating="2.5" />        
            <ImageView id="rateImg"></ImageView>
            <Label id="registerResult">Not loaded!ss</Label>

        </Window>

The window I thought it was something with the CSS and I found the height was full of the windows so I changed the tss of the widget to see the size and define a reasonable height but it still show me the same:

"#starrating": {
layout: 'horizontal',
width: Ti.UI.SIZE,
height: '24dp',
backgroundColor: 'yellow'
}

The background is just for debug propose

Regards,

@ma2kubo
Copy link

ma2kubo commented Apr 4, 2014

Evernote was unable to submit your note for the following reason:

The emailed note was received, but Evernote did not understand the email address. It may have been mistyped, or the user may not exist. Please check to make sure the address was properly entered.

Original message information:
From: santiago16 <[email protected]>
Delivered To: [email protected]
All recipients: AppceleratorSolutions/AlloyWidgets <[email protected]>
Subject: [AlloyWidgets] After adding the StarRating widget the rest of the view stop render (#2)

To prevent excessive emails, you may not receive another error reply for the next 360 minutes.

  • The Evernote team

@skypanther
Copy link
Contributor

I use this widget frequently in my test apps and haven't encountered this issue. I suspect that a style is being applied from somewhere which is causing the height to be set to Ti.UI.FILL. Check your app.tss or your window's TSS file for a rule like

"View": { height: Ti.UI.FILL}

@ma2kubo
Copy link

ma2kubo commented Apr 25, 2014

Evernote was unable to submit your note for the following reason:

The emailed note was received, but Evernote did not understand the email address. It may have been mistyped, or the user may not exist. Please check to make sure the address was properly entered.

Original message information:
From: Tim Poulsen <[email protected]>
Delivered To: [email protected]
All recipients: AppceleratorSolutions/AlloyWidgets <[email protected]>; ma2kubo <[email protected]>
Subject: Re: [AlloyWidgets] After adding the StarRating widget the rest of the view stop render (#2)

To prevent excessive emails, you may not receive another error reply for the next 360 minutes.

  • The Evernote team

@santiago16
Copy link
Author

Ok thanks, I will look into!, but can you have more than one rating star in
the in the same screen?

On Fri, Apr 25, 2014 at 11:57 AM, Tim Poulsen [email protected]:

I use this widget frequently in my test apps and haven't encountered this
issue. I suspect that a style is being applied from somewhere which is
causing the height to be set to Ti.UI.FILL. Check your app.tss or your
window's TSS file for a rule like

"View": { height: Ti.UI.FILL}


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-41415205
.


Un Cordial Saludo,
Santiago Valencia

@ma2kubo
Copy link

ma2kubo commented Apr 26, 2014

Evernote was unable to submit your note for the following reason:

The emailed note was received, but Evernote did not understand the email address. It may have been mistyped, or the user may not exist. Please check to make sure the address was properly entered.

Original message information:
From: santiago16 <[email protected]>
Delivered To: [email protected]
All recipients: AppceleratorSolutions/AlloyWidgets <[email protected]>; ma2kubo <[email protected]>
Subject: Re: [AlloyWidgets] After adding the StarRating widget the rest of the view stop render (#2)

To prevent excessive emails, you may not receive another error reply for the next 360 minutes.

  • The Evernote team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants