When the elisa window is small, ViewSelector only show icons and
the entry text is shown only via a tooltip
CCBUG: 392778
When the elisa window is small, ViewSelector only show icons and
the entry text is shown only via a tooltip
CCBUG: 392778
allow to start to fix issues when quarter tiled
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
I like the idea, but it still shows the elided text with about 3 visible characters.
src/qml/ContentView.qml | ||
---|---|---|
860 | please put this value into the theme file. makes it easier to change it later. | |
src/qml/ViewSelector.qml | ||
246 | Does such a hardcoded value work with HighDPI? |
Thanks for your review. It made me think about it more. I plan to do changes to the way this patch is done. I will try to ensure that the transition happen before only 3 characters are shown.
try to take into account the review from @astippich by only handling the
resize inside ViewSelector without having ContentView managing states
Working great now!
The windows theme file changes are missing and two comments inline
src/qml/Theme.qml | ||
---|---|---|
97 ↗ | (On Diff #41187) | this seems unused now |
src/qml/ViewSelector.qml | ||
32 | Can this somehow be determined automatically depending on the text? One would have to look for the longest entry. This would also adjust to different font sizes and different languages then. |
Thanks again for your review.
The fact that everything has to be duplicated is a conception mistake. I will open a review to fix that.
rebase on top of 0.3 branch
src/qml/NavigationActionBar.qml | ||
---|---|---|
275 | That would be an unrelated change. I can clean it up in a later commit. |
fix one issue repoted by astippich
src/qml/ViewSelector.qml | ||
---|---|---|
32 | It is just a dummy big value needing to be higher than the maximum width set by the container. |