Comments (2)
I have reduced the minimum sizes for the Player window, which should at least help with making it fit better on smaller screens. Minimum width is now 360 px, which assuming 2x scaling on the 720p display on the PinePhone should make it fit properly.
As for making the Player UI work better across resolutions, this is something that definitely needs looking at. There are ways to make the current layout into a flow layout: https://doc.qt.io/qt-5/qtwidgets-layouts-flowlayout-example.html
Styling the standard widgets using stylesheets will also allow for them to fit better on a specific platform. https://doc.qt.io/Qt-5/stylesheet-syntax.html
from nymphcast.
Stylesheet support is now available in the Player. By default default.css
in the binary folder will be used. I have pushed a simple stylesheet for now that changes the color of the window and changes the size of the tabs.
The location of the stylesheet file is set in the registry (on Windows) or its equivalent (per the Qt documentation). The idea is to have different stylesheets for different target platforms that can style the GUI for that platform.
from nymphcast.
Related Issues (20)
- NymphCast GUI fails to start due to failing to load fonts HOT 12
- Connect button in NymphCastPlayer Remote tab doesn't do anything HOT 3
- Server crashes (SIGSEGV) on exit HOT 4
- Staking on Dev Protocol HOT 1
- There is a video demo? HOT 5
- Build failure: no matching function for call to 'NymphMethod::NymphMethod HOT 2
- Unable to install Android client HOT 2
- NymphServer Windows Binary HOT 11
- Nymphcast Player - Manually add Remote Server HOT 8
- FreeBSD packaging HOT 1
- Build issues, Clang, C++11 or C++17, FreeBSD HOT 3
- Player: video seeking not working HOT 3
- Nymphcast "Server" Naming
- raspberrypi nymphcast_server[9460]: /usr/local/bin/nymphcast_server: error while loading shared libraries: libPocoUtil.so.70: cannot open shared object file: No such file or directory HOT 5
- Integration with Home Assistant HOT 1
- Client app in Kirigami HOT 1
- Firefox addon
- Integration with Plasma Bigscreen HOT 4
- Flatpak package
- Need help getting started HOT 4
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 nymphcast.