mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-15 09:55:56 -04:00
19 lines
445 B
Java
19 lines
445 B
Java
package haveno.desktop.main.overlays;
|
|
|
|
import com.jfoenix.controls.JFXTabPane;
|
|
import javafx.scene.layout.Region;
|
|
|
|
public abstract class TabbedOverlay<T extends TabbedOverlay<T>> extends Overlay<T> {
|
|
|
|
protected JFXTabPane tabPane;
|
|
|
|
protected void createTabPane() {
|
|
this.tabPane = new JFXTabPane();
|
|
tabPane.setMinWidth(width);
|
|
}
|
|
|
|
@Override
|
|
protected Region getRootContainer() {
|
|
return tabPane;
|
|
}
|
|
}
|