fltk-rs / fltk-table

A smart table widget for fltk-rs
MIT License
16 stars 4 forks source link

SmartTable support resize method please #22

Closed persytry closed 1 year ago

persytry commented 1 year ago

SmartTable support resize method please. Thanks.

MoAlyousef commented 1 year ago

SmartTable supports resize:

use fltk::{
    prelude::{WidgetExt},
};
use fltk_table::{SmartTable, TableOpts};
    let mut table = SmartTable::default()
    .with_opts(TableOpts {
        rows: 30,
        cols: 1000,
        ..Default::default()
    });
    table.resize(10, 10, 600, 400);

So I'm not sure what you mean.