Git Product home page Git Product logo

alloywidgets's Introduction

AlloyWidgets

Add alloy widgets here.

alloywidgets's People

Contributors

fokkezb avatar leardo11 avatar manumaticx avatar rblalock avatar skypanther avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

alloywidgets's Issues

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

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,

How to add star rating programmatically on a view

I m trying to create a custom popup whee user can give rating.How to add star rating programmatically on a view.

I have tried using this but this is not working...
var starratingview = Alloy.createWidget('starrating', {
max : '5',
initialRating : '2.5',
top : "20dp",
layout : 'horizontal',
width : Ti.UI.SIZE,
height : '24dp',
bottom : '20dp',
editable : 'true',
});

popupview.add(starratingview);
starratingview.init();
starratingview.setRating(user.avgrating);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.