You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.
ofxUINumberDialer's inherited font field never seems to be set to a valid ofxUIFont until it is added to a parent ofxUICanvas.
This causes ofxNumberDialer to segfault when doing anything that requires constructing the text bounding box for its label (i.e. during positioning or layout) if it hasn't yet got a parent.
This seems to make it impossible to use ofxNumberDialer as an embedded widget when building a custom widget.
Just posting this in case anyone else runs into any voodoo when constructing ofxNumberDialer without immediately adding it to a parent canvas.
Ran into this while working with @JoshuaBatty on his UI.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ofxUINumberDialer
's inheritedfont
field never seems to be set to a validofxUIFont
until it is added to a parentofxUICanvas
.This causes
ofxNumberDialer
to segfault when doing anything that requires constructing the text bounding box for its label (i.e. during positioning or layout) if it hasn't yet got a parent.This seems to make it impossible to use
ofxNumberDialer
as an embedded widget when building a custom widget.Just posting this in case anyone else runs into any voodoo when constructing
ofxNumberDialer
without immediately adding it to a parent canvas.Ran into this while working with @JoshuaBatty on his UI.
The text was updated successfully, but these errors were encountered: