It depends on which containers are showing scrollbars.  I just pushed a changes 
so that if it is MXAdvancedDataGridItemRenderer that is the problem, you can 
add CSS like

.MXAdvancedDataGridItemRenderer {
  overflow:none;
}

If it is one of your other custom components, you may want to set the className 
property and set similar CSS for it.

HTH,
-Alex

From: serkan <ser...@likyateknoloji.com>
Reply-To: "users@royale.apache.org" <users@royale.apache.org>
Date: Monday, June 8, 2020 at 7:42 PM
To: "users@royale.apache.org" <users@royale.apache.org>
Subject: Re: hscroll bar for adg hides the content

It looks like it is better to disable scrollbar for quick fix.

How can i disable ?
9.06.2020 04:52 tarihinde Alex Harui yazdı:
In the Flex version, would the 5 images overflow the width of the column or is 
the column size fixed width?

It might be that the default scrollpolicy for one of the containers is not the 
same as in Flex, or that there is a slight difference in size such that images 
overflow the height causing scrollbars that then overflow the width.  Again, 
the debugger should provide clues.

-Alex

From: serkan <ser...@likyateknoloji.com><mailto:ser...@likyateknoloji.com>
Date: Monday, June 8, 2020 at 1:54 PM
To: Alex Harui <aha...@adobe.com><mailto:aha...@adobe.com>, 
"users@royale.apache.org"<mailto:users@royale.apache.org> 
<users@royale.apache.org><mailto:users@royale.apache.org>
Subject: Re: hscroll bar for adg hides the content

The column shows images according to the state of the job and it is not fixed.

It may show 1 or more images up to 5 or something horizontally lined.
8.06.2020 23:27 tarihinde Alex Harui yazdı:
It depends on who is showing scrollbars.  Looks like there are several layers.  
 I would check the HTML DOM and see what elements are too big and why.

HTH,
-Alex

From: serkan <ser...@likyateknoloji.com><mailto:ser...@likyateknoloji.com>
Date: Monday, June 8, 2020 at 1:19 PM
To: "users@royale.apache.org"<mailto:users@royale.apache.org> 
<users@royale.apache.org><mailto:users@royale.apache.org>, Alex Harui 
<aha...@adobe.com><mailto:aha...@adobe.com>
Subject: Re: hscroll bar for adg hides the content

It was solved with "width="150" maxWidth="250" in flex.

"Manage"  is nested component in adg:

                <mx:AdvancedDataGridColumn 
headerText="{resourceManager.getString('messages', 'manageGrid')}" width="150" 
id="mngColumn">
                    <mx:itemRenderer>
                        <fx:Component>
                            <jobdetail:PinaraJobListGridManageColumn 
selectedGroupId="1" /> <!--RO: {outerDocument.selectedGroupId} -->
                        </fx:Component>
                    </mx:itemRenderer>
                </mx:AdvancedDataGridColumn>


PinaraJobListGridManageColumn  is MXAdvancedDataGridItemRenderer

<?xml version="1.0" encoding="utf-8"?>
<s:MXAdvancedDataGridItemRenderer 
xmlns:fx="http://ns.adobe.com/mxml/2009";<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7C22fceba833fb4187d3be08d80c1ecd1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637272673719321245&sdata=vA694eeNK%2BUtxcZgGcv%2Bt6R63Z8efR5poaRVNIsRGQw%3D&reserved=0>
                    xmlns:s="library://ns.apache.org/royale/spark"
                    clipAndEnableScrolling="true"
                    xmlns:mx="library://ns.apache.org/royale/mx" 
xmlns:jobmanager="com.likya.pinara.services.jobmanager.*"
                    xmlns:jobdetail="com.likya.pinara.comps.jobdetail.*">
    <fx:Declarations>
        <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>

    <fx:Script>
        <![CDATA[

            [Bindable]
            public var selectedGroupId:String;

        ]]>
    </fx:Script>

    <jobdetail:ManageButtonGroup id="manageButtonGroup" data="{data}" 
selectedGroupId="{selectedGroupId}" />

</s:MXAdvancedDataGridItemRenderer>

I do not want to play with css for now. How can I do it with ScrollPolicy or 
may be it is better to change height while scroll bar is displayed ?

Thanks
Serkan
8.06.2020 19:05 tarihinde Alex Harui yazdı:
What is the renderer for the Manage column?  If you don’t need scrollbars you 
should be able to turn them off either via ScrollPolicy or via custom CSS.

From: serkan <ser...@likyateknoloji.com><mailto:ser...@likyateknoloji.com>
Reply-To: "users@royale.apache.org"<mailto:users@royale.apache.org> 
<users@royale.apache.org><mailto:users@royale.apache.org>
Date: Monday, June 8, 2020 at 8:13 AM
To: "users@royale.apache.org"<mailto:users@royale.apache.org> 
<users@royale.apache.org><mailto:users@royale.apache.org>
Subject: hscroll bar for adg hides the content

Hi,

for the "Manage" column the scroll bar hides the content.

[cid:image001.png@01D63DD1.58AC3BB0]

should have been something like that :

[cid:image002.png@01D63DD1.58AC3BB0]

if it is not a simple case i may create an issue.

Thanks,
Serkan













Reply via email to