Flex :: How To Keep DataGrid Corners Round

Jun 6, 2011

I want to keep DataGrid and AdvancedDataGrid corners round by some px amount, like other components. What is the proper way to achieve it?

View 1 Replies


Similar Posts:


Css :: Round The Corners Of A DateField In Flex 4?

Apr 15, 2012

I'm using Flash builder, with flex 4 sdk, I'm trying to create a DateField in which the TextInput component has rounded corners, this is my code, for some reason it doesn't work, anyone knows why?

[Code]...

View 1 Replies

Round Specific Corners Of A Button In Flex?

Jul 6, 2010

I want to round specific corners of buttons to create something like mx.controls.ButtonBar. But I cannot figure out how ButtonBar does this even after looking at its source. I thought the focusRoundedCorners css property was the answer but that applies only to drawing the button's focus box.

View 1 Replies

Professional :: Round Corners Of The Stage?

Mar 11, 2011

Is it possible to round the corners of a flash stage, so that when  I insert the SWF into dreamweaver, it inserts more of an oval instead of a rectangle?

View 2 Replies

ActionScript 3.0 :: Method To Draw Rectangle With Round Corners?

Aug 28, 2009

My idea was to create a method for drawing rectangle with rounded corners, but while being able to specify which of the four corners (any, all, none,etc.) you wanted to round. The method below does the trick, but for some reason my corners don't match the same curves that I get using the same radius with drawRoundRect(). In other words, if I call my method (and set all four corners to be rounded) and compare that with the same call to drawRoundRect() the actual curves of the corners are slightly different.

HTML Code:
public function drawComplexRoundedRect(startX:int,startY:int,rectWidth:int,rectHeight:int,radius:int,canvas:Sprite,roundTopLeft:Boolean=false,roundTopRight:Boolean=false,roundBottomLeft:Boolean=false,roundBottomRight:Boolean=false):void{
if(roundTopLeft){
canvas.graphics.moveTo(startX,(startY+radius));
[Code] .....

Then compare
HTML Code:
var canvas:Sprite = new Sprite;
drawComplexRoundedRect(0,0,200,200,25,canvas,true,true,true,true);
with
HTML Code:
var canvas:Sprite = new Sprite;
canvas.drawRoundRect(0,0,200,200,25);
and you will see the two rectangles are not identical.

View 2 Replies

Coding Style Round Corners For Text Input In Flash

Jun 24, 2010

i im using the text input component in flash as2,but i need text input with round corners, is there a script that can do it? or somthing?

View 1 Replies

ActionScript 2.0 :: Math.round() - Round A Number To 4 Digits

Mar 27, 2005

how do you round a number to 4 digits... so 3.45356345345 is 3.456 and 1 is 1.000

View 5 Replies

Flex :: Rect Rounded Corners Be Different?

Jun 21, 2010

When I use <s:Rect> to create a rectangle, I use radiusX to get rounded corners. Problem is all are the same roundedness. Is there something similar to Rect that lets me control the radius for each corner separately? If not, what's the best way to create this from scratch? graphics library or what?

View 3 Replies

Flex :: Adobe Catalyst: Rounded Corners?

Dec 26, 2009

I've created a rectangle in catalyst and under the "properties" panel, all I can see is Corners 10 for the rectangle. Is there a way to individually define each corner similar to CSS. I can't see any source code view in catalyst to enable me to fine tune it for each of the 4 corners. How do I specify the roundedness of each corner separately?

View 1 Replies

Actionscript 3 :: All Rounded Corners TitleWindow In Flex?

Jun 30, 2010

how can i get a title window with all rounded corners, so that i may make it whole round or circular shape ?

View 2 Replies

Flex :: Rounded Bottom Corners On Window?

Sep 30, 2010

I'm making a flex 3.5a/air2 application and I've made a popup window but I can't seem to get its bottom corners rounded. Setting cornerRadius seems to only affect the top corners. There doesn't seem to be a roundedBottomCorners property like there is for panels, and adding a controlbar with a cornerRadius also has no effect.

View 2 Replies

Actionscript 3 :: Create HBox With Only The Top Corners Rounded In Flex?

Oct 27, 2009

I'm trying to create an HBox in flex that has only the top corners rounded. HBox (and all the other flex containers) have a cornerRadius style, but it applies to all corners. I'm not seeing a way to specify the style of individual corners.

Is there any built-in way to do this, or will I need to write my own custom drawing code to draw the background with rounded corners?

View 2 Replies

Flex :: Make The Rounded Corners Of The Client App In WindowedApplication?

Apr 2, 2010

In my application,showFlexChrome is set as true in WindowedApplication,and the *-app.xml is setted as follows

<systemChrome>none</systemChrome>
<transparent>true</transparent>
<visible>true</visible>

I know how to make the top border rounded corners with follow codes:

borderStyle="solid" cornerRadius="8"

But I cannot find a method to make the bottom border of my app window rounded-corner.

View 1 Replies

Flex :: Can't Show Rounded Corners On Custom Panel Skin?

Aug 12, 2011

I wanted to change the background color of my Panel title area and I discovered that I needed to create custom skin or skin extender to accomplish this. So I created a skin called myPanelSkin based upon the Spark.PanelSkin. My background color works fine but it will no longer show the cornerRadius defined either on the component or in a styleI then tried another approach and simply created a new skin as an exact copy of the Spark.PanelSkin. It also looses the cornerRadius.

View 2 Replies

Actionscript 3 :: Create Flex Image With Transparent Border And Rounded Corners?

Mar 21, 2012

I have a photo in a Flex project[code]...

But now I'm wondering if I can make this image as the image below, in Flex (4 / 4.5 / 4.6) (in MXML and/or ActionScript 3)

View 1 Replies

Flex :: Adobe Flash Builder DataGrid DataProvider CollectionEvent.COLLECTION_CHANGE Handler's Access To DataGrid??

Feb 14, 2010

I've added an eventListener to the COLLECTION_CHANGE event that is fired when the grid is finished resorting the items in its dataProvider, after the user clicks on a column header:MyType (myDataGrid.dataProvider).addEventListener(CollectionEvent.COLLECTION_CHANGE,onDataGridResort);

View 1 Replies

Flex :: Datagrid Selects The Wrong Custom Cell In Datagrid

Mar 15, 2010

I am working on a problem since a week soon, but I still couldn't make it work as expected. I have a DataGrid which has HBox with a CheckBox an a Label as itemRenderer (see Code below). When I tap in to the Cell the standard itemEditor pops up and lets you enter the content of the label. Thats the standard behavior. I works fine except for 2 problems:

If I enter to much text, the horizontal srollbar pops up, and the cell is filled with that scrollbar. As you see I tried to set the horizontalScrollPolicy to off, but that doesnt work at all... I tried to do that for all the different elements, but the failure is still existent. When I have filled more than one row, there is an other mistake happening. If I tap on a row, the datagrid selects the one below that row. That's only if one line is already selected. If I tap outside the datagrid and then, tap at any row the itemEditor of the right row will show up... Is there anything now wright in the setup of my set data method?

package components
{
import mx.containers.HBox;
import mx.controls.CheckBox;

[Code]......

View 2 Replies

Flash :: Turn Flex MXML DataGrid Into Something Like Horizontal DataGrid?

Mar 24, 2010

From this (normal dataGrid)

into this (horisontal data grid)

How to turn Flex MXML DataGrid into something like Horisontal DataGrid? (may be some how with Flash builder 4?)

Keeping all stuff DataGrid has like eating data from data provider sortind dragging - droping items etc

View 1 Replies

Flex :: Changing Dataprovider Of A Datagrid On Change Event Of Another Datagrid?

Oct 15, 2011

I have two datagrids:

- Division
- Members

Both have single columns. Selecting one item from Divsions datagrid should display members of that Division in the Members datagrid. But following code has some problem and Members of a particular division do not show up when respective Divsion is clicked.

Following are some snippets of the related code. Hope someone can spot an error in it.

[Code]..

View 2 Replies

Flex :: Round Date To Nearest 15 Minute Interval?

Sep 18, 2009

I am building a control to allow me to set a meeting time, and I would like it to use as a default, the current time rounded up to the nearest 15 minute interval. So if it is currently 6:07, it would read 6:15 as the start time.

Does anyone know how this might be accomplished, or have run across a code snippit that would put me on the right track?

View 2 Replies

Flex :: Improve Datagrid Performance When Using Itemrenderer With In Datagrid?

Jul 31, 2009

For poor performance reasons, the DataGrid will cache checkboxes and reuse them for different rows. If you have 50 rows, it won't create 50 checkboxes. It will create as many checkboxes at are visible, plus a few more for padding, and then reuse them as you scroll. This is why you need to explicitly manage their state. How can improve it ? How can fixed checkbox value ? i used checkbox like below But checkbox doesnot remembering the values

[Code]...

View 3 Replies

Flex :: Determine How Long An HTTPService.send() Call Takes Round-trip?

Dec 10, 2009

I am looking to find out and track how long a round-trip to the server is taking. Just kinda curious more than anything.

View 1 Replies

Flex :: Rotate MXML Component Round Its Center Like A Wheel Respectfully To Mouse?

Jun 16, 2010

So I have that panel or any other mxml component. I want somehow to rotate it around like a wheel of a car with which you drive it... loke a Racing wheel... sow like when mousebutton is down it captures pont of component... when you move mouse component rotates (not moves) according to new mouse position... How to rotate MXML component round its center like a wheel respectfully to mouse?

View 2 Replies

Flex :: "Type DataGrid In CSS Selector 'DataGrid' Must Be Qualified With A Namespace" - Warning

Feb 4, 2010

I am attempting to style the headers in a flex datagrid and I keep getting the warning:

Type DataGrid in CSS selector 'DataGrid' must be qualified with a namespace

What does this mean? I have gone through a bunch of tutorials and none of them have worked. It seems like changing a the colors in a datagrid should be relatively simple.

Here is a code sample:

<mx:Style>
.headerCustomStyle
{
fontWeight: "bold";

[code]....

View 3 Replies

Flex :: Assign DataGrid To Other DataGrid In Flex

May 13, 2011

in Flex I have something like that: [code]and dg is ALWAYS pointing at DataGrid (even if dg1 has name DataGrid_test and dg2 = DataGrid_test2) and finally action is made on my first DataGrid (DataGrid_test).[code]and search still points at ColorColumn :/ My problem is really easy- I just want to pass to search different dataGrid on each state.But still I don't understand why it doesn't work. My search function uses algorhitm Boyer-Moor for searching through dataGrid.dataProvider for some text. If it find something then it is pushed into new array and after passing whole dataProvider I colorize rows with searched word.

View 2 Replies

Flex :: Round Number - Increment Or Decrement A Number By 0.1?

Aug 2, 2011

I have a problem with this code :

<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"[code].....

I get the right number when I click on only '+' or only on '-'But if I click '-' until 0.7 and '+', it stays at 0.7
The same append when I click '-' until 0.9 when '+', it stay to 0.8. Why? How can I do to increment or decrement a Number by 0.1?

View 2 Replies

Draw A Triangle With Rounded Corners?

Nov 23, 2002

It's easy to draw a round cornered rectangle/square but how do you draw a triangle with rounded corners?

View 4 Replies

Professional :: Add Roundness To A Square's Corners?

Aug 23, 2009

I created a square using the rectangle tool, there are a few options on how to change it in the properties panel, however I don't see anything allowing to to round the corners of it. How do I do that? (I'm using Adobe Flash CS4 by the way.

View 2 Replies

CSS :: Set Radius For Lower Corners Of Tab In Navigator

Apr 26, 2010

Using CSS, I can set the corner radius of the top corners of a tab in a tabnavigator:
<mx:Style>
.tabstyle {
corner-radius: 10;
} </mx:Style>
<mx:TabNavigator tabStyleName="tabstyle" />
However, I also want the bottom corners to have a radius.

View 3 Replies

IDE :: Can't Get Rounded Corners On My Rectangle Tool To Go Away

Feb 7, 2004

I'm trying to get plain straight corners on a rectangel. I have been drawing a rectangle or even before drawing one, selecting the little tool in the lower left and I put in a value of 0, but as soon as I draw anything it rounds up again. How do I get rid of this problem??

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved