Style in mobile application issues statement (does not work)

Hello

In a simple mobile Flex application, I have a simple view with a styleName assigned to a VGroup it contains. The decleration is in the same point of view (for the sake of trying to make this work, but it is in an external css, if I find a way to make it work).

The padding, I assign just does NOT at all. Nothing. While if I specify in the VGroup directly is paddingTop or another style, it works very well

Weird behavior.

Here's the view:

<? XML version = "1.0" encoding = "utf-8"? >

" < = xmlns:fx s:View ' http://ns.Adobe.com/MXML/2009 "

xmlns:s = "library://ns.adobe.com/flex/spark" title = "HomeView" >

< fx:Declarations >

<! - Place non-visual elements (e.g., services, items of value) here - >

< / fx:Declarations >

< fx:Style >

{.myGroup}

paddingTop:200;

paddingLeft:300;

paddingRight:30;

}

< / fx:Style >

< s:VGroup styleName = "MyGroup" >

< s:Label text = "Hello" / >

< / s:VGroup >

< / s:View >

Anyone has any idea why?

I use Flex 4.6/AIR 3.6 for the moment, he tried with Flex 3.4 4.9.1/AIR too, same behavior.

Is this a bug? I'm doing something wrong? Y at - it a hack/trick to make this work that specify the styles directly in the MXML?

Thank you.

Just realized that the padding in the VGroup aren't styles more but is properties. Damn these spark components

I guess that's why, and I think it's a disappointment. I know that I could hack this, but condemned me!

Tags: Flex

Similar Questions

  • If I pay for an application and it does not work I would get my money back guarantee, please, thank you

    If I pay for an application and it does not work I would get my money back guarantee, please, thank you

    This is a user to user forum. You don't talk to Apple.

    You can report a problem with applications to http://reportaproblem.apple.com and request a refund as well.

  • Delete statement does not work properly

    Hello

    The following delete statement does not work correctly.
    If I press DELETE will delete everything in the table of categories
    I don't know whats wrong with it.
    -Delete category line if there is not the infrastructure to support-
    IF: P12_DFCY_SEQNO4 IS NOT NULL AND: P12_DFCY_CATG_C = "7" THEN
    REMOVE FROM DFCY_CATG
    IF NOT EXISTS (SELECT I.DFCY_SEQNO
    OF DFCY_CATG C, DFCY_CATG_INFRSTRCTR I
    WHERE C.DFCY_SEQNO = I.DFCY_SEQNO
    AND: P12_DFCY_SEQNO4 = I.DFCY_SEQNO);
    end if;

    Thank you
    Mary

    You probably the where more clause:

    DELETE FROM DFCY_CATG
    WHERE C.DFCY_SEQNO = :P12_DFCY_SEQNO4
    AND NOT EXISTS(SELECT I.DFCY_SEQNO
    FROM DFCY_CATG C, DFCY_CATG_INFRSTRCTR I
    WHERE C.DFCY_SEQNO = I.DFCY_SEQNO
    AND :P12_DFCY_SEQNO4 = I.DFCY_SEQNO);
    

    Not sure if this is the exact name of your column in the table, but that limit the scope of deleting just a record that you control.

    Hope it will be useful,

    Aaron

  • Applications for iOS does not work after update from cli 6.3.0

    After an update on August 3, when the Service of Build upgrade cli 6.3.0 my apps did not work for iOS, I have an iPhone 4 running iOS 7.1.2 and an iPad running iOS 9.3.3. After the build service update, no matter if I specify a lower version of cli, on the iPhone he asked a more recent software when I try to install from iTunes, but the iPhone and iTunes running on the latest version. On the iPad it installs, but the application icon does not appear on the iPad, so I can't access the application.

    Everyone knows a similar problem? I tried to look for documents but did not find any significant syntax change that could cause the problem. I even did a restore on my code (I had an old version of the compiled application and it worked, then I did a restore to this date on my code) and it does not work yet.

    ryanskihead not really, we test with 2 models, an iPad 2 running iOS 9.3.3 and an iPhone 4 iOS running 7.1.2 in both cases, the application does not, but the behavior is different:

    -On the iPad it installs successfully on iTunes, but the icon does not appear on the iPad

    -On the iPhone it says that it can not be installed because it requires a newer version of the iOS, but the iPhone is running the latest available version of iOS.

    If I specify a deployment target, say iOS 7 for example, it doesn't do anything on the iPhone. This and a similar thread I've seen on the target community deployment cli 6 ignorant, I would say that there is a bug with phonegap cli 6 + versions used on the Build Server.

    The problem now solved in time by doing a restore to phonegap cli 5.2.0, TI began works fine after that, so I don't know if there is a bug on higher versions of cli phonegap or there is a syntax change not yet published on config.xml

  • Master page with rollover menu, using States, does not work for all pages?

    Hello.

    I created my masterpage with a basic at the top menu. It has two States. The 1st State is normal and State 2 is a simple rollover behavior, just a different color.

    Why my menu would work perfectly on the page ' 01', but then the reversal function does not work for other pages? (portfolio 03 etc.). She has just the hoverover slider and the link, but the color does not change.

    I have something wrong?

    Thanks a lot for all the help on these forums

    Make sure that all the subpages have a second State added to them. You

    do not put any content on this State, but it must be present

    the transfer of work from the watch page.

    If you do not already have that second State, trying to link then cancelled

    the subpages of the master page. I came across this scenario recently

    because I had created a master page after some of my subpages have been

    already built.

    HTH

    Jim Babbage

  • Starting problems old application. Compatibility does not work!

    Hello, recently, I decided to play a game of old (since 1999). When I instaled Pharaoh (the name of the game), it is no problem. However, I tried to install the expansion pack (Cleopatra) and I can't. I tried all the possible modes of compatibility, but it does not work. I started installation and the Task Manager indicates that he's begun, but I can't see and exploit. Help, please!

    There seems to be no definitive solution not working on all pc systems. Two Councils (which may or may not work on your system) seem reasonable, at least:

    (1) install and run (both!) Pharao and expansion in "compatibility mode: Windows 2000 ', in 'administrator '. This is because the way the operating system accesses the CD/DVD drive has changed in the meantime. This recommendation will not work in combination with some specific drivers for the hardware (motherboard, chipset), you'll know when you try it.

    (2) and, more likely, it's a question of copy protection. This is because the combination of Pharao + Cleopatra expansion seems to work without problems when installing a release where they are not be installed separately (Pharao gold) and with 'barely legal' distributions where the copy protection has been removed from the plan. A more legitimate way to achieve the same might be this one:

    "Install the game on another computer and patch if necessary. Copy the games appear on an external usb/disc key or burn it to a DVD.
    Copy the folder on the computer where you want to play the game. Create a shortcut to the exe of games on the desktop. To start the game, insert a CD in the drive, close the popup window and start the game by using the shortcut on the desktop.
    For your legal stay don't forget to uninstall the game again on the other computer (it can only be installed on one computer at a time) and also from the external hard drive unless you select to play the game directly from her instead of copy on it. The game cannot be played directly from a DVD because the game is impossible to record data such as backups. "(http://caesar3.heavengames.com/cgi-bin/caeforumscgi/display.cgi?action=ct&f=9, 7578, 20)

    This procedure would allow the good old copy of 'CD in the drive?' system check and, therefore, to launch the game normally.

  • If the else statement does not work... worked in AS2?

    Hello

    have a very common function that I use in educational quiz itself noted the user according to their score (from answering multiple choice questions). So I put in place a variable called score without problem... but when I apply my confidence "if else"heuristic of AS2... I have all these errors and my flash file does not work. "

    Is there a better way to code that I'm not aware of?

    Stop();

    If (score < = 5) {}
    endMsg.gotoAndStop ("score1");
    } Else if (score > 6 and score < = 11) {}
    endMsg.gotoAndStop ("score2");
    } else {}
    endMsg.gotoAndStop ("score3");
    }

    feedback video called "endMsg" - according to the function, navigates user to label that provides feedback.

    Any help would be awesome... coz this feature used to work! It doesn't work even in Flash CS4 when I retrograde Panel actionScript to version 2 to test!

    I missed using try IT...

    } Else if (score > = 6 & score)<=>

    I know they used to support the use of words for or, but never made a practice of it, so I can't say if they do not support in AS3.  In addition, as long as there will be a score of 5.5, you should be fine.

  • ADF Mobile Graphics DVT - Zoom does not work

    Hello

    I have developed a mobile Application using JDeveoper 11.1.2.4.0. It has graphics of DVT. The tables are correctly displayed, but I am unable to zoom their Android device.

    I use Android 4.1.2 platform.

    Am I missing something?

    Thank you

    Mehabub

    Hello Mehabub,

    Tables of PST in ADF Mobile 1.1 (with JDeveloper 11.1.2.4.0) does not support zoom and scroll. The features of zoom & scroll will be available in the next version of the Mobile Application infrastructure.

    Kind regards

    -Jan

  • Impossible to uninstall applications - CC Cleaner does NOT work

    Create clouds app allows me to sign on, but I only get the blue spinning wheel.

    I tried all the solutions four to does not open App | Wheel of progress turn continuously without success.

    I tried to uninstall all CS5 applications without success... I get an error message for each.

    I also tried the cleaning of CC tool... message indicates that it is running correctly, but the log shows that it was impossible to delete files...

    Any suggestions for a next step?

    Hi Dklopp,

    Don't know if it's just a typo, but there are in fact five solutions instead of four in this doc.

    What is all the tabs or only the Apps tab that isn't filling?

    In addition, if you are on Mac this thread could have some additional things to try in regards to add-ons such as Safari Adblock or Cooliris
    https://forums.Adobe.com/message/7082761#7082761

    -Dave

  • If the statement does not work/be executed

    I have a button that makes a flip on the x axis 180 if his name is not in a table called "shutters", it determines this by running an if statement. If his name is in the table then the button to run the code to do the folding panels. However, it is not. He let the sign flip one way, but does not have the code for it folding. I was wondering if someone could take a look to see if they know why...

    Code is linked below.

    http://pastebin.com/mc7457

    Thank you

    I don't want to pretend that I understand what you try to do it with the code, but the last section to see ms to be a little hard to swallow.  I don't see any sense in declaring conditionally works, in the call to them.  If I had to guess at a rewrite of the code, it would be...

    photosPane.addEventListener (MouseEvent.CLICK, photoinout);

    function photoinout(e:MouseEvent):void {}
    If (panes.indexOf ("photos") =-1) {}
    addEventListener (Event.ENTER_FRAME, photosrotate);
    Panes.push ("photos");
    trace (Panes);
    } ElseIf (panes.indexOf ("photos") = 0) {}
    addEventListener (Event.ENTER_FRAME, photosrotateout);
    trace ("stuff");
    }
    }

    And insofar as these ENTER_FRAME listeners go, you should remove them in the functions they call as soon as they reached their goal.  Otherwise, they will continue to call these functions several times.  Example:

    function photosrotate(event:Event):void {}
    If (photos.rotationX<>
    photos.rotationX += 6;
    } else {}
    removeEventListener (Event.ENTER_FRAME, photosrotate);
    }
    }

    And, as I said, due to my lack understanding, if my remarks do not apply, I meant no harm.

  • 10g to Oracle Enterprise Manager Application Server Control does not work

    Hello
    We have installed the application on 9.21.0.98 Server (solaris machine).
    For the server is woking, but the report server does not.

    Now I want to connect to Oracle Enterprise Manager 10 g Application Server Control
    to solve the problem

    In my PC (windows), I opened internet explorere (IE), and I entered the following URL
    http://9.21.0.98:7778 / (7778 is probably http port)
    Now I see a web page.

    Here I see the following on the right side of the page

    Oracle Application Server Logins

    To manage and monitor Oracle Application Server,

    Log on to Oracle Enterprise Manager 10g Application Server Control:
    username: ias_admin
    password: specified during installation

    When I click on this link http://9.21.0.98:1156 / URL has appeared on the IE and I get the following error
    Internet Explorer cannot display this webpage

    Now to see if any application is running on this port (1156), I logged the solaris machine where the application server is intalled and I exected netstat - a | grep 1156 command. But he didn't show me anything

    Could you please solve my problem?

    Concerning

    Is it possible to change the name of report server?

    See Paulo Esteves answer in How to change the name of the report server?

  • abbreviation for Application/sequence/ZoomOut (=) does not work. Any idea?

    The ZoomIn '-' works perfectly. The "=" change Panel above "Composite" for "multi-camera". I'm not changing the shortcut settings (they are still "Adobe Premiere Pro Default").

    I use a keyboard German mac on a mac in a first English version. When I type '=' for example in the title editor in first, he writes a '='...

    Any idea anyone?

    I have it!

    I deleted the current shortcut in the "Keyboard shortcuts" menu for ZoomIn and spruced up there (=) that is located on a German keyboard (shift + 0)...

    Leave the confusion, Adobe does not care for international keyboards... I can never type a plain (=) on a German keyboard... He will always be with a shift...

  • Simple if statement does not work! Help!

    Did YOU get my first image on the timeline to control a movieclip. Look like this:

    If (mymovie._currentframe == 10) {}
    myMovie.Stop ();
    }


    If she has to stop on the frame of 10, but it doesn't. What is the problem with the script? Do I need some sort of function before?

    Thank you!

    > So there's no way to control the movieclip from another frame?
    # You can assign actionscript for objects that are available on the timeline. In your scenario, you try to assign a script to the object that does not exist. myMovie is unavailable on the first image. If Flash Player do not know the object names "mymovie" If the call fails silently. While on the second image, as the 'mymovie' object is available, the assignment of onEnterFrame works.

    Hope that answers the question.

  • I have download the Adobe Flash Player application, but it does not work. I already loaded the plugin update.

    I followed the instructions of the forum. I uninstalled Flash Player. I installed the latest plugin. When I THROW the installation of Flash Player application, I get the installation of Adobe box, but it is empty. I let it sit long (more than 30 minutes) and is not doing anything. When I close the box, Windows Explorer opens and looks like he's on the Adobe website, but there is nothing displayed in the display area.

    Hi Lizzieness, if you have problems with the installation of flash, please try to use Setup offline https://www.adobe.com/products/flashplayer/distribution3.html - to firefox to use the windows exe installer in browser plugin...

  • Mode of application: Media Player does not work.

    Hi people,

    I just got a Smartband SWR10 yesterday. I have a problem getting the enforcement mode to control the media player. I don't have a phone Xperia from Sony. I have a OnePlus One and the SmartBand recognizes the player as one of the compatible applications already installed. When I press the button and tap, the status bar displays the message "Application Mode: Media Player ', but nothing else happens. I went from the app "Find the phone" and it works fine. It seems therefore that the phone recognizes the entry just TAPE that media player is not to get the events or may not act on it.

    I use Google'sPlay music app. Is there some settings in the app to allow the SmartBand to fight against it? Or am I missing something else?

    Thanks in advance! :-)

    _Gautam.

    I found comments in some forums on issues Detection and controling Google Music app after some updates. So I installed a different music player and set it as default and things seem to work. This feature is really important to me, so I guess I'll make do with the new MP3 player now!

    Thank you for all the support guys! Really appreciate it!

    See you soon,.

    Gautam.

Maybe you are looking for

  • Share photos unmodified?

    In the Apple pictures, is there a way to share the unedited original photo? I have a picture in my pictures that I then add a shared folder. When I click on Get info on them or check them on the original files, or export system, they seem to be of di

  • Toshiba Satellite S50-B-12Z - how can I get into the BIOS?

    Hey, I have a new laptop - Toshiba Satellite S50-B-12Z.I want to knpw how to enter the BIOS?I have win 8.1 Ty

  • iPad2 9.3 upgrade stuck at the screen of the unavailable activation server

    I tried an ota on my iPad update 2 and it is stuck on the screen of activation with an error message - activation server is temporarily unavailable. tried rebooting, connect to iTunes - nothing works... Any help on this would be welcome.

  • Kit Kat Google Dialer?

    I just read an article that said that phones nexus would have Google update dialer as part of the Kit Kat. Anyone know if there is any truth to that? I was really looking forward to this feature.

  • DLL Documents basics

    Hello everyone, I know how to create a dll in labview and how to use it. But I need a good document that explains how to handle DLLS with different types of data. Thank you