Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Threaded View

  1. #1
    Sencha User
    Join Date
    Jun 2008
    Posts
    70
    Vote Rating
    0
    uwolfer is on a distinguished road

      0  

    Default [CLOSED] Beta 4: Table: issue with resizing TableColumns

    [CLOSED] Beta 4: Table: issue with resizing TableColumns


    There seems to be a problem with resizing columns in the table header: the items do not get resized at all. I have not been able to reproduce this issue with the demos though.
    Please see the attached screenshot: 1st image shows initial state. 2nd image shows resized state. I have resized 2nd header column (moved to the right). All the item columns do not get resized.

    Please see the example code below which produces the this wrong behavior.

    Code:
            ArrayList<TableColumn> columns = new ArrayList<TableColumn>();
            ContentPanel content = new ContentPanel(new FitLayout());
            content.setHeading("Available Models");
            columns.add(new TableColumn("name", "Model", NiceGWT.GOLDEN_PERCENT_RIGHT));
            columns.add(new TableColumn("backend", "Backend", NiceGWT.GOLDEN_PERCENT_LEFT));
            final Table<RowSelectionModel> table = new Table<RowSelectionModel>(new TableColumnModel(columns));
            final RowSelectionModel selectionModel = new RowSelectionModel(Style.SelectionMode.SINGLE);
            table.setSelectionModel(selectionModel);
            table.addListener(Events.SelectionChange, new Listener<TableEvent>() {
                public void handleEvent(TableEvent evt) {
                    showResult((String)selectionModel.getSelectedItem().getValue(0));
                }
            });
            content.add(table);
            PersistBrowserModule.getService().getModels(new AsyncCallback<EntityTypeMetaData[]>() {
                public void onFailure(Throwable caught) {
                    Shell.get().error("Error getting entity models", caught);
                }
                public void onSuccess(EntityTypeMetaData[] result) {
                    metaData = new HashMap<String, EntityTypeMetaData>();
                    for ( EntityTypeMetaData m : result ) {
                        Object[] values = new Object[] {
                                m.getName(), m.getBackend()
                        };
                        TableItem ti = new TableItem(values);
                        table.add(ti);
                        metaData.put(m.getName(), m);
                    }
                }
            });
    Attached Images