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
Also, if I add width: parent.width to the LineEdit (in the markup above), I can't shrink the window horizontally after resizing it. The same does not happen when I add the same property to the record-voice-button.
I am using slint v. 0.2.4
The text was updated successfully, but these errors were encountered:
megahomyak
changed the title
Size of the TabBar is not calculated considering its label sizes
Size of the TabBar is not calculated considering its label sizes + unshrinkable window
Jun 17, 2022
A tab bar is surprisingly tricky: Tabs are expected to shrink up to a minimum size that basically displays an elision only:-/ Tab bars also are expected to scroll left/right as they can overflow. None of this is supported in slint at this time :-(
On the other hand some tab bars are expected to not shrink below a size where all tabs are readable.
The native style's minimum size is working fine. But the fluent style tabbar doesn't seem to have a minimum size. So definitively a bug in the fluent style.
I wrote the following slint markup: https://gist.github.com/megahomyak/2cec4e7eca97413170ec93e9527a5996

That's how the window looks when spawned:
Also, if I add
width: parent.width
to theLineEdit
(in the markup above), I can't shrink the window horizontally after resizing it. The same does not happen when I add the same property to therecord-voice-button
.I am using slint v. 0.2.4
The text was updated successfully, but these errors were encountered: