Comments (6)
I dont have any non-english titled tracks. Could you provide a screenshot of 1
the above tracks when the interface is expanded? How many pixels do you /think/
are missing?
The current font-metrics are taken into account when determining the collapsed
size.
Could you try editing gui/mainwindow.cpp and change line 2440 from:
----------------------8<------------------------
compactHeight=qMax(qMax(playPauseTrackButton->height(), trackLabel->height()+artistLabel->height())+
----------------------8<------------------------
to
----------------------8<------------------------
compactHeight=qMax(qMax(playPauseTrackButton->height(), trackLabel->height()+artistLabel->height()+spacing)+
----------------------8<------------------------
Does this help at all???
Original comment by [email protected]
on 14 Jun 2012 at 7:38
- Added labels: Priority-Low
- Removed labels: Priority-Medium
from cantata.
Expanded interface is fine as below.
Adding '+spacing' to gui/maiwindow.cpp doesn't fix the problem!
Original comment by [email protected]
on 14 Jun 2012 at 7:52
Attachments:
- [Screenshot from 2012-06-13 11:41:54.png](https://storage.googleapis.com/google-code-attachments/cantata/issue-35/comment-2/Screenshot from 2012-06-13 11:41:54.png)
from cantata.
[deleted comment]
from cantata.
This is, again, a style issue. For some reason the Gtk+ Qt style is giving a
spacing value of -1 when queried.
Try editing gui/mainwindow.cpp and changing from (line 2438):
----------------------8<------------------------
int spacing=style()->layoutSpacing(QSizePolicy::DefaultType, QSizePolicy::DefaultType, Qt::Vertical);
// For some reason height is always larger than it needs to be - so fix this to cover height +4
compactHeight=qMax(qMax(playPauseTrackButton->height(), trackLabel->height()+artistLabel->height())+
songTimeElapsedLabel->height()+positionSlider->height()+(spacing*3),
coverWidget->height()+spacing);
----------------------8<------------------------
to:
----------------------8<------------------------
int spacing=style()->layoutSpacing(QSizePolicy::DefaultType, QSizePolicy::DefaultType, Qt::Vertical);
if (spacing<0) {
spacing=4;
}
// For some reason height is always larger than it needs to be - so fix this to cover height +4
compactHeight=qMax(qMax(playPauseTrackButton->height(), trackLabel->height()+artistLabel->height()+spacing)+
songTimeElapsedLabel->height()+positionSlider->height()+(spacing*2),
coverWidget->height()+spacing);
----------------------8<------------------------
This seems to resolve the issue for me
Original comment by [email protected]
on 14 Jun 2012 at 8:08
from cantata.
Yes, now it works fine for Korean, Japanese and probably Chinese!
Thanks as always.
Original comment by [email protected]
on 14 Jun 2012 at 8:22
from cantata.
Fixed in r1238
Original comment by [email protected]
on 14 Jun 2012 at 7:09
- Changed state: Fixed
from cantata.
Related Issues (20)
- When playing HTTP streams through Cantata on Plasma, the mute icon appears for all pinned applications in the task bar instead of only Cantata HOT 2
- Can't run compiled Cantata app on MacBook with M1 processor HOT 13
- Cantata doesn't restore active filter on startup HOT 1
- Cancelling a “Save as” action overwrites the pre-selected playlist HOT 4
- Manage subcollections HOT 2
- Mac OS 2.4.2 built HOT 1
- icecast stream list not loading
- SoundCloud doesnt work anymore HOT 2
- Latest version of curl > 7.77 does not like the "#<track name>" being passed as a url to locate
- Add artist in Treeview HOT 5
- Lyrics search/fetch not working when artist name starts with "The" HOT 1
- Rss podcast does not refresh when there are new episodes HOT 2
- say thanks button broken HOT 1
- Cantata disconnects on add smart playlist HOT 2
- [Feature request] continue releasing cantata for windows HOT 1
- cantata can't find cover.jpg for unsplitted "album image" flac files HOT 7
- MPD doesn't quit gracefully HOT 3
- Cantata v2.3.2 for Windows & Dynamic Playlist HOT 4
- When editing information of mp3, empty TCON frame is added to id3v2 tag HOT 12
- Can't fetch songs from Soundcloud HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cantata.