Fix some UI issues and bugs in hyprland-share-picker

This commit is contained in:
marcoilla 2023-01-22 17:33:13 +01:00
parent 6f04533a45
commit 5caba00c1d

View file

@ -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);