Add Widgets for easier use. #5614
-
|
I compared it with cogentcore. The documentation of cogentcore is concise and clear, and you can understand it at a glance, while the documentation of fyne is indeed more difficult to understand and the design is more complicated. I think the biggest design of a UI framework is simplicity, otherwise HTML and Vue would not be so popular. Just copy the widgets of HTML, of course, this may not be the same as your goal. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
|
Can you be more specific about why In general https://docs.fyne.io seems well received, what do you think is missing? |
Beta Was this translation helpful? Give feedback.
-
|
re: Layouts: Fyne has taken the decision that many, simple, layouts is cleaner and more composible than fewer, more complex, layout or container constructs. re: data binding: I'm not clear on what you think the deficciency of Fyne data binding is - it aims to be pretty clean and simple just like the rest of our API. https://docs.fyne.io/explore/binding. re: standard colours: The widget package contains standard widgets that respect the loaded theme - though as I noted above this is completely customisable. If you want canvas level control there is a separate package that defines the lower level objects which widgets are composed of - and it has no knowledge of the theme.
Ironically our design choices were indeed made with that in mind: simple layouts, standard themeing and widget API that defines behaviour instead of a load of themeing options is designed with that in mind. I am going to close this down as a disagreement on API design and not indicative of anything we need to change. |
Beta Was this translation helpful? Give feedback.
Can you be more specific about why
widget.NewLabel("Hello")orwidget.NewButton("TapMe", func() {})isn't clear?In general https://docs.fyne.io seems well received, what do you think is missing?