Skip to content

Commit aaabc5d

Browse files
committed
1 parent 2b90dd5 commit aaabc5d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

haxe/ui/backend/ComponentBase.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ class ComponentBase {
165165
parent = Toolkit.screen.frame;
166166
}
167167

168-
cast(this, Component).invalidateStyle();
168+
cast(this, Component).invalidateComponentStyle();
169169

170170
var className:String = Type.getClassName(Type.getClass(this));
171171
var nativeComponentClass:String = Toolkit.nativeConfig.query('component[id=${className}].@class', 'haxe.ui.backend.hxwidgets.custom.TransparentPanel', this);

haxe/ui/backend/hxwidgets/behaviours/ControlBitmap.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class ControlBitmap extends HxWidgetsBehaviour {
2929
if (Resource.getBytes(value) != null) {
3030
var bmp:StaticBitmap = cast _component.window;
3131
bmp.bitmap = Bitmap.fromHaxeResource(value);
32-
_component.invalidateLayout();
32+
_component.invalidateComponentLayout();
3333
}
3434
}
3535
}

haxe/ui/backend/hxwidgets/behaviours/ControlLabel.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class ControlLabel extends HxWidgetsBehaviour {
2424
} else {
2525
ctrl.label = normalizeText(value);
2626
}
27-
_component.invalidateLayout();
27+
_component.invalidateComponentLayout();
2828
}
2929
}
3030

haxe/ui/backend/hxwidgets/behaviours/TextCtrlPassword.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class TextCtrlPassword extends HxWidgetsBehaviour {
3333
newControl.size = oldControl.size;
3434
oldControl.destroy();
3535
_component.window = newControl;
36-
_component.invalidateStyle();
36+
_component.invalidateComponentStyle();
3737

3838
for (k in eventMap.keys()) { // remap any events on current window
3939
_component.mapEvent(k, eventMap.get(k));

haxe/ui/backend/hxwidgets/behaviours/TextCtrlWordWrap.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class TextCtrlWordWrap extends HxWidgetsBehaviour {
3434
newControl.size = oldControl.size;
3535
oldControl.destroy();
3636
_component.window = newControl;
37-
_component.invalidateStyle();
37+
_component.invalidateComponentStyle();
3838

3939
for (k in eventMap.keys()) { // remap any events on current window
4040
_component.mapEvent(k, eventMap.get(k));

0 commit comments

Comments
 (0)