Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Alignment issue for ToolStripButton showing as RecordComponent

    Hi,

    Using SmartClient Version: v9.0p_2013-07-24/PowerEdition Deployment (built 2013-07-24).

    We are using createRecordComponent for adding ToolStripButton in ListGrid. But somehow it is showing in proper alignment.

    Below is the generated code from View Source. Image is also added for your reference.

    Code:
     
    <td class="stretchImgButton" style="margin:0px;border:0px;padding:0px;background-image:none;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;font-size:1px;padding-right:6px">
    <img width="16" height="16" border="0" align="absmiddle" suppress="TRUE" eventpart="icon" style="vertical-align:middle" name="isc_IZicon" src="http://127.0.0.1:8888/gwt/sc/skins/silverwave/images/archway/view.png">
    </td>
    Kindly suggest the best way to show ToolStripButton as a center aligned.

    Thanks,
    D Singh
    Attached Files

    #2
    Sorry, generated HTML and a screenshot will not help us determine what is wrong in your actual code.

    Please review the documentation for showRecordComponents and *all* the properties which are linked from that doc.

    Use the Watch Tab in the Developer Console to understand what components have what sizes, in order to understand centering.

    Review also the docs for canvas.layoutAlign.

    If you're still having trouble, please show code that can actually be run to reproduce the problem. This is best done by starting from a sample and modifying it minimally.

    Comment

    Working...
    X