mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-24 15:15:58 +01:00
Fix some UI issues and bugs in hyprland-share-picker
This commit is contained in:
parent
6f04533a45
commit
5caba00c1d
1 changed files with 0 additions and 1 deletions
|
@ -105,7 +105,6 @@ int main(int argc, char *argv[]) {
|
||||||
QString text = QString::fromStdString(std::string("Screen " + std::to_string(i) + " at " + std::to_string(GEOMETRY.x()) + ", "
|
QString text = QString::fromStdString(std::string("Screen " + std::to_string(i) + " at " + std::to_string(GEOMETRY.x()) + ", "
|
||||||
+ std::to_string(GEOMETRY.y()) + " (" + std::to_string(GEOMETRY.width()) + "x"
|
+ std::to_string(GEOMETRY.y()) + " (" + std::to_string(GEOMETRY.width()) + "x"
|
||||||
+ std::to_string(GEOMETRY.height()) + ") (") + SCREENS[i]->name().toStdString() + ")");
|
+ std::to_string(GEOMETRY.height()) + ") (") + SCREENS[i]->name().toStdString() + ")");
|
||||||
|
|
||||||
// resize text for graphical reason
|
// resize text for graphical reason
|
||||||
if (text.size() > 60) {
|
if (text.size() > 60) {
|
||||||
text.resize(60);
|
text.resize(60);
|
||||||
|
|
Loading…
Reference in a new issue