Skip to content
Discussion options

You must be logged in to vote

Widgets in Trilium are sized by default by the available space in its container (contain: size). To avoid this and make it use the space it needs for its content, you need to alter the constructor:

constructor() {
   super();
+  this.contentSized();
}

Replies: 6 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@lzinga
Comment options

@eliandoran
Comment options

Answer selected by eliandoran
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
State: Triage Issues that need to be verified UI Issues related to user-interface/front-end
2 participants
Converted from issue

This discussion was converted from issue #8099 on December 19, 2025 22:11.