refactor: implement documentation system in widget gallery#51
Open
uAtomicBoolean wants to merge 84 commits intomainfrom
Open
refactor: implement documentation system in widget gallery#51uAtomicBoolean wants to merge 84 commits intomainfrom
uAtomicBoolean wants to merge 84 commits intomainfrom
Conversation
The project now builds correctly in wasm. An html file has been added to display the documentation. Refs #33
Add `open` dependency to open urls in default web browser.
Refactor the DocSection widget to allow custom styled text in the description.
UCode can now be some inlined code.
13 tasks
Open is not available on wasm.
Using the hardened feature as we won't need to open file URLs
Fix position of the Lime color in the Default colors page.
This will reduce the load on the menu page and allow to have a better documentation for each widget.
Import are implicits as all widgets are imported from the widgets.slint file.
This avoid a visual bug when increasing the scale factor.
Fire the `activated` callback in UMenuLink only if the link isn't the one currently selected.
This is removed as it is too tedious to use in a big project as it must be applied to every custom length. Instead, the slint scale factor can be used with the SLINT_SCALE_FACTOR env var and the Window::dispatch_event method.
Add preferred width to input number and input to avoid having to always set the width
Add preferred width. Switch to UScrollview.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #41