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
This is referring to the spinbox widget right? I think this is a good idea and I personally prefer .with_range. Eventually other widgets like sliders and knobs should conform to the same api.
Also a good idea. I'll create a method in state.data to get the bounding box of a widget in one go, something like .get_bounds perhaps?
I'm not sure what you mean by this. Though I'm guessing it's because percentage values are between 0 and 1.0 (or more) rather than 0 and 100. Which I will admit is not really intuitive and should be changed.
Yes, I agree, there definitely needs to be some errors for css invalid rules. In fact the whole css parsing part needs a rework really.
This is definitely a feature I want to add but I'm undecided how best to do it. Currently all text size info comes from femtovg but I didn't want incorporate femtovg into the layout algorithm for auto sizing, so I need to look into the best way to do this. Also not clear is at what stage this should be done because at some point I plan to add localization which will alter the text in a label and thus alter the auto width/height.
Yes it does. It should probably be renamed to .set_color or perhaps the 'css' should be changed to font-color. We should also think of a different name than css because some of the properties aren't really css. But then having the files as .css does help for editor autocomplete and extensions like the ones that show you the specificity of a rule.
Docs is definitely something that needs work throughout the whole lib and should be a priority before the next release. Certainly the events and propagation types should be labelled.
How so? Do you think events should be non-unique by default?
This is a very good idea. I will look into adding this.
These apply to the experiment branch.
.with_min
.with_max
should be.with_min_max
or.with_range
. (should never need to set them separately) initial value on the same go too?CheckItem
is missingon_checked
andon_unchecked
A > B
The text was updated successfully, but these errors were encountered: