mirror of https://github.com/sojamo/controlp5
parent
1506b77aab
commit
e716ec6a22
|
@ -54,7 +54,7 @@ public class Tab extends ControllerGroup< Tab > {
|
||||||
public Tab( ControlP5 theControlP5 , ControlWindow theControlWindow , String theName ) {
|
public Tab( ControlP5 theControlP5 , ControlWindow theControlWindow , String theName ) {
|
||||||
super( theControlP5 , null , theName , 0 , 0 );
|
super( theControlP5 , null , theName , 0 , 0 );
|
||||||
isMoveable = false;
|
isMoveable = false;
|
||||||
isEventActive = theControlP5.isTabEventsActive;
|
isEventActive = cp5.isTabEventsActive;
|
||||||
_myHeight = 16;
|
_myHeight = 16;
|
||||||
_myWidth = _myLabel.getWidth( ) + padding * 2;
|
_myWidth = _myLabel.getWidth( ) + padding * 2;
|
||||||
_myLabel.align( LEFT , CENTER ).setPadding( 0 , 0 );
|
_myLabel.align( LEFT , CENTER ).setPadding( 0 , 0 );
|
||||||
|
|
Loading…
Reference in New Issue