My General 50ct to this Topic :-)
Well I guess this is one of the Problems every Programm has. No matter if
ActionScript, Java, C even if you're sick enough to use Assembler.
As Long as the Computer hat so work with it, it has to somehow be able to
Access it. If the Computer can Access it, a hac
>No, my "buttons" are horizontal bars, stacked vertically with a few pixels of
>space between them.
So you can change the layout of your buttons to use VerticalLayout, in your
buttonbar custom skin:
https://github.com/apache/flex-sdk/blob/develop/frameworks/projects/spark/src/spark/skins/spark/
Hi Om,
Thanks for a quick look up, however this still doesn't resolve my issue.
For instance i am getting a value="100" from the database displayed in one
of the grid column.
This is how i followed with the conversion:
Step 1: the data returned in the column as string is 100.00
Step 2: passed the
On Wed, Feb 26, 2014 at 1:29 AM, ashish1703
wrote:
> Hi Om,
>
> Thanks for a quick look up, however this still doesn't resolve my issue.
>
> For instance i am getting a value="100" from the database displayed in one
> of the grid column.
> This is how i followed with the conversion:
> Step 1: the
Hi Alex,
Can you share some screen shots so that it may clear a bit more.
However i have styled the button bar in my application globally as follows:
s|ButtonBar s|ButtonBarButton:upAndSelected,
s|ButtonBar s|ButtonBarButton:overAndSelected,
s|ButtonBar s|ButtonBarButton:downAndSelected,
s|Button
On 26/02/2014 08:23, Christofer Dutz wrote:
But in order to make it 100% safe you would probably have to put an infinite
amount of work into it.
This.
Tom
Its the same thing again, if it returns string then the sorting will wont
work.
As my initial concern was to get the values with decimal places as well as
in the form of numbers so that column data can be sorted as well.
But since the label function returns string, sorting will not work. and If
it
Sorting does not use labelFunction. It uses the raw value which is a Number if
converted properly
labelFunction is only used for display.
Try it, it will work.
Maurice
-Message d'origine-
De : ashish1703 [mailto:ashish.ya...@firmwisegroup.com]
Envoyé : mercredi 26 février 2014 11:30
À
Well. Its kind of not working for me then... :(
I also have an itemrenderer working on the column...does it has to do
something?
I am not able to crack it out :(
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/Data-type-to-convert-and-store-a-srting-into-decima
We use a different technique here. We have a custom gridcolumn for our
datagrids. One of the added properties is a boolean value that states weather
the column has numeric data.
Then override some of the sorting methods and use the SortFields own numeric
property [1]. Works pretty good.
[1
@Kessler,
As you have mentioned it is with Spark control and i am using
mx:controls in my code, if that is the only option left then i will probably
had to switch on to that.
Waiting for Om and Maurice if they have something in store for me..
--
View this message in context:
http://apache-fle
>Waiting for Om and Maurice if they have something in store for me.
You say it doesn't work for you, but it's difficult to help without seeing your
code.
Can you provide some sample code that shows the issue (typically ,
itemRenderer, conversion code, and datagrid code) ?
Maurice
-Messa
Here is a working sample code that shows what has been told:
- use of label function to format with 2 decimals,
- sorting works on the raw number value.
http://ns.adobe.com/mxml/2009";
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
for each(var obj:Object in xml received from backend){
list.addItem({activeper:parseFloat(obj.activeper)});}
grid.dataprovider = above list ;
private function theLabelFunction(item:Object,column:DataGridColumn):String{
var num:Number = parseFloat(item[column.da
I just prefer using spark over mx. However there is an MX version of the
SortField [1].
[1]
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/collections/SortField.html#numeric
-Mark
-Original Message-
From: Ash1703 [mailto:ashish.ya...@firmwisegroup.com]
Sent: W
>From the code you sent:
You are already converting the data to float in the list,
So the second parseFloat in the labelFunction is superfluous and will cause the
app to crash.
You should do:
return Number(item[column.dataField] ).toFixed(2);
-Message d'origine-
De : Ash1703 [mailto:
Hi list,
Is it possible to setup a custom variable ${variable} for the
index.template.html in eclipse? Maybe in the compiler options in the properties
window of my flex project? Or better in my index.mxml file. Where are all the
other ${variables} set?
Thanks
Marcus
signature.asc
Descriptio
Mmmm... I just went back in the Git history, and it seems the only thing I
did was remove spaces in some file names. I had URLs that looked like this:
src: url("../assets/fonts/Lyon Text-Regular.otf");
But that might not be your problem at all. Just so you know, my stylesheets
are loaded directly
Yes, good hint to set the points actually when the application hangs in the
loop, thx...
and it seems it's really the setContentWidth which produces that..
when I set the the verticalScrollPolicy of the List to on or off explicitly
everything works fine...
I thought it is because I position ever
See if the contentWidth keeps changing (usually between two values). Then
the container can't decide whether to turn on the scrollbars or not.
You'll have to find a way to use the same contentWidth, regardless of
whether there are scrollbars.
On 2/26/14 5:40 AM, "MichaPooh" wrote:
>Yes, good hi
Finally I go with a workaround to never set a new contentWidth
with target.setContentSize(target.contentWidth, myCalculatedHeight)
that works and isn't too "hacky" because the layout works in a way that
every item is positioned relative to the target.width or the left side and
the content should n
Hi,
I would like to add, that Apache is a volunteer organization and a very
active one. However, the more folks that participate make the process and
products better.
The Apache Flex team is on course for moving to new releases of Flex at
fairly frequent intervals. Many bug fixes happen in a week
You can use ant to replace tokens.
On 2/26/14 5:04 AM, "Marcus Fritze" wrote:
>Hi list,
>
>Is it possible to setup a custom variable ${variable} for the
>index.template.html in eclipse? Maybe in the compiler options in the
>properties window of my flex project? Or better in my index.mxml file.
>
Hi. I'd like to know if I have to do something to "activate" the mobile
skin (or whatever the exact name is). Because no matter what I set in
UIStatusBarStyle, it has no effect on the application. Right now, I see the
status bar only because I added the following code in my app MXML file:
@media (
The way it often gets stuck is this:
0. Shrink a container vertically that doesn't currently have a vertical
scrollbar.
1. Layout computes a new height that implies that scrollbar is needed.
2. Vertical ScrollBar takes up room.
3. Layout is recomputed to factor in scrollbar.
4. Bug in layout compu
Hi Mathieu,
This is an extract from mobile theme defaults.css:
@media (application-dpi: 160) AND (os-platform:"IOS") AND (min-os-version: 7)
{
Application {
osStatusBarHeight: 20;
}
}
Given than ViewNavigatorApplication inherits from Application, it should apply
to your app.
A
Mat,
On a side note, AFAIK all iOS7 status bars are either 40px (retina
display) or 20px (non-retina) - never 30px.
On 26/02/2014 19:43, Maurice Amsellem wrote:
Hi Mathieu,
This is an extract from mobile theme defaults.css:
@media (application-dpi: 160) AND (os-platform:"IOS") AND (min-os
Hi,
I just encountered a problem in one of my applications. I am using Flex
4.11.0.20131017
The popup opens, but when I click anywhere inside the popup, the application
locks up causing a timeout error after a few seconds.
This is what's logged to the console:
[Fault] exception, information=E
It is worth nothing that a better workaround then what was mentionned above
is to create a dropdownSkin where on the Scroller and the datagroup you
listen to mouseDown and stopImmediatePropagation
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/DropDownList-in-a-
The problem here is that dropdownlist use a popupAnchor to display options.
The click is therefor now "owned" by the callout and thus callout is being
closed.
The callout function should include this possibility and this could be
considered a sdk bug as having options in a callout is highly probab
Ok ... so I sumbled over one PopupDialog in my application that didn't lock up
and I had a look at the differences:
Locking Up version is opened with this code:
// If the parent was not specified, use the root as parent.
if (!parent) {
var sm:ISystemManager =
ISystemM
Can you try the 4.12 release candidate? There was a bug in that
findHighestModalForm that I fixed for 4.12.
-Alex
On 2/26/14 1:08 PM, "Christofer Dutz" wrote:
>Ok ... so I sumbled over one PopupDialog in my application that didn't
>lock up and I had a look at the differences:
>
>Locking Up ver
In Eclipse Preferences under run/debug you can set global string substitution
variables.
Google for 'eclipse run debug string substitution'
Not sure if you can get it to substitute into index.template.html
On Feb 26, 2014, at 9:45 AM, Alex Harui wrote:
> You can use ant to replace tokens.
>
Had the same lock-up and was fixed in 4.12.
-Message d'origine-
De : Alex Harui [mailto:aha...@adobe.com]
Envoyé : mercredi 26 février 2014 22:53
À : users@flex.apache.org
Objet : Re: AW: Strange hanging when handling Popup
Can you try the 4.12 release candidate? There was a bug in that
So this was due to a bug? ... well it shouldn't harm cleaning up my global
Popup-Opening-Code ;-)
Will give Flex 4.12 a try as soon as I have the last issues of the application
I'm currently working on resolved
(Really bad that one of the Problems would have been solved by updating ...
well ...
35 matches
Mail list logo