Search in sources :

Example 1 with WidgetListConfigOptions

use of fi.dy.masa.malilib.gui.widgets.WidgetListConfigOptions in project MasaGadget by plusls.

the class GuiConfigs method refresh.

public void refresh() {
    WidgetListConfigOptions widgetListConfigOptions = this.getListWidget();
    if (widgetListConfigOptions != null) {
        widgetListConfigOptions.getScrollbar().setValue(0);
        widgetListConfigOptions.refreshEntries();
    }
}
Also used : WidgetListConfigOptions(fi.dy.masa.malilib.gui.widgets.WidgetListConfigOptions)

Example 2 with WidgetListConfigOptions

use of fi.dy.masa.malilib.gui.widgets.WidgetListConfigOptions in project FZMM-Mod by Zailer43.

the class GuiOptionsBase method reload.

public void reload() {
    this.reCreateListWidget();
    WidgetListConfigOptions listOptions = this.getListWidget();
    assert listOptions != null;
    listOptions.resetScrollbarPosition();
    this.initGui();
}
Also used : WidgetListConfigOptions(fi.dy.masa.malilib.gui.widgets.WidgetListConfigOptions)

Aggregations

WidgetListConfigOptions (fi.dy.masa.malilib.gui.widgets.WidgetListConfigOptions)2