Add width() and height() to QWidget
This commit is contained in:
parent
edf437f056
commit
25f529757e
@ -304,6 +304,12 @@ export abstract class NodeWidget<Signals extends QWidgetSignals> extends YogaWid
|
||||
y(): number {
|
||||
return this.property('y').toInt();
|
||||
}
|
||||
width(): number {
|
||||
return this.property('width').toInt();
|
||||
}
|
||||
height(): number {
|
||||
return this.property('height').toInt();
|
||||
}
|
||||
}
|
||||
|
||||
export interface QWidgetSignals extends QObjectSignals {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user