mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-02 15:35:58 +01:00
Fix some UI issues and bugs in hyprland-share-picker
This commit is contained in:
parent
5caba00c1d
commit
eedc16ee34
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ 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