Jump to content
uniGUI Discussion Forums

zanona

uniGUI Subscriber
  • Content Count

    112
  • Joined

  • Last visited

Community Reputation

0 Neutral

About zanona

  • Rank
    Active Member

Profile Information

  • Gender
    Not Telling
  1. zanona

    UnimButton Color

    Did you understand the examples?
  2. zanona

    UnimButton Color

    Did you understand the examples?
  3. zanona

    UnimButton Color

    Follow! btnmobile.zip
  4. zanona

    UnimButton Color

    Follow!
  5. zanona

    UnimButton Color

    How do I attach in the post?
  6. zanona

    UnimButton Color

    Did you understand the examples?
  7. zanona

    UnimButton Color

    Follow mobile and web example! Web switches color Mobile does not http://ge.tt/5wh3PSq2
  8. zanona

    UnimButton Color

    Did not work!
  9. zanona

    UnimButton Color

    I also tried using the event below to change the color and it did not work! function painted(sender, eOpts) { sender.addCls('btAzul'); }
  10. zanona

    UnimButton Color

    Version 1464
  11. zanona

    Not Rotating

    Can you prevent the application from rotating in the mobile? Version 1464 Thanks Zanona
  12. zanona

    UnimButton Color

    How to change the color of the button? In the web version I use the css below, but on the mobile does not work? function beforeInit(sender, config) { config.cls='btAzul'; } .btAzul { width:120px; height:30px; background: #1E90FF; border: 5px solid #1E90FF; /* borda branca em volta */ margin: auto; /* centraliza com bordas automáticas nas laterais */ text-align: center; /* centraliza o texto */ font-family: Source Sans Pro; /* fonte */ font-size: 16px; /* tamanho da fonte */ color: #1E90FF; /* cor fonte */ border: 1px solid #ccc; border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25); border-color: #e6e6e6 #e6e6e6 #bfbfbf; border-bottom-color: #b3b3b3; border-radius: 4px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.05); }
  13. zanona

    UniTreeMenu font size

    If the menu is micro active the css color is not respected!
  14. zanona

    Google Maps for uniGUI

    I found the solution! Switch HTTP to HTTPS on component! url: = 'https://maps.googleapis.com/maps/api/js?key='+ MyGoogleAPIKey + '& libraries = geometry, places, visualization & sensor = false';
  15. zanona

    Google Maps for uniGUI

    When I use HTTPS it gives the error below when using the component! If only used as normal HTTP works! What could it be? Source UniGMap1.RemoveAllRoutes; with DirectionsRequest do begin origin := 'rua amadeu perin, 200 colombo, pr'; destination := 'curitiba, pr'; travelMode := tmDRIVING; draggable := True; waypoints := ''; end; UniGMap1.Route(DirectionsRequest); Error: ajaxRequest(O6D,"resize",["w="+O6D.getWidth(),"h="+O6D.getHeight()]);if(Ext.Msg.isVisible())Ext.Msg.toFront();if (typeof directionsDisplay != "undefined") { directionsDisplay.setMap(null);};var rendererOptions = {draggable: true};directionsDisplay = new google.maps.DirectionsRenderer(rendererOptions);var directionsService = new google.maps.DirectionsService(); var request = { origin : "rua amadeu perin, 56 colombo, pr", destination : "curitiba, pr", travelMode : google.maps.DirectionsTravelMode.DRIVING, unitSystem : google.maps.UnitSystem.METRIC, waypoints : [], avoidHighways : false, provideRouteAlternatives : false, avoidTolls : false}; directionsService.route(request, function(response, status){ if ( status == google.maps.DirectionsStatus.OK ) { directionsDisplay.setDirections(response); directionsDisplay.setMap(gm_O31); } else {alert(status);}}); google.maps.event.addListener(directionsDisplay, "directions_changed", function() { var steps = []; var wp = []; var my = directionsDisplay.getDirections(); var data = {}; data.copyrights = my.routes[0].copyrights; data.distancetext = my.routes[0].legs[0].distance.text; data.distancevalue = my.routes[0].legs[0].distance.value; data.durationtext = my.routes[0].legs[0].duration.text; data.durationvalue = my.routes[0].legs[0].duration.value; data.startaddress = my.routes[0].legs[0].start_address; data.endaddress = my.routes[0].legs[0].end_address; data.startlocation = {"lat": my.routes[0].legs[0].start_location.lat(),"lng":my.routes[0].legs[0].start_location.lng()}; data.endlocation = {"lat": my.routes[0].legs[0].end_location.lat(),"lng":my.routes[0].legs[0].end_location.lng()}; for ( var i=0; i < my.routes[0].legs[0].steps.length; i++) { steps.push({ "enc_lat_lngs" : my.routes[0].legs[0].steps.encoded_lat_lngs, "instructions" : my.routes[0].legs[0].steps.instructions, "distancetext" : my.routes[0].legs[0].steps.distance.text, "distancevalue" : my.routes[0].legs[0].steps.distance.value, "durationtext" : my.routes[0].legs[0].steps.duration.text, "durationvalue" : my.routes[0].legs[0].steps.duration.value, "startlocation" : {"lat": my.routes[0].legs[0].steps.start_location.lat(),"lng": my.routes[0].legs[0].steps.start_location.lng()}, "endlocation" : {"lat": my.routes[0].legs[0].steps.end_location.lat(),"lng": my.routes[0].legs[0].steps.end_location.lng()} }); } data.steps = steps; for ( var i=0; i < my.routes[0].legs[0].via_waypoints.length; i++) { wp.push({"location" : my.routes[0].legs[0].via_waypoints.lat() + "," + my.routes[0].legs[0].via_waypoints.lng() }); } data.waypoints = wp; ajaxRequest(O31, "directions_changed", ["count=" + my.routes[0].legs[0].steps.length , "directionsDisplay=" + JSON.stringify(data) ]); });if (navigator.geolocation) { navigator.geolocation.getCurrentPosition( function(position) { ajaxRequest(MainForm.btLocation, "CurrentPosition" , ["lat=" + position.coords.latitude, "lng=" + position.coords.longitude, "acc=" + position.coords.accuracy, "alt=" + position.coords.altitude, "altacc=" + position.coords.altitudeAccuracy, "head=" + position.coords.heading, "ts=" + position.coords.timestamp ]); })};
×