Browse Source

Don't make Notes UI fixed-size after loading

tags/1.9.4
falkTX 12 years ago
parent
commit
1783020e07
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      source/backend/native/notes/DistrhoUINotes.cpp

+ 2
- 2
source/backend/native/notes/DistrhoUINotes.cpp View File

@@ -109,7 +109,7 @@ void DistrhoUINotes::d_stateChanged(const char* key, const char* value)
int width = QString(value).toInt(&ok);

if (ok && width > 0)
setFixedWidth(width);
setSize(width, height());
}

else if (std::strcmp(key, "guiHeight") == 0)
@@ -118,7 +118,7 @@ void DistrhoUINotes::d_stateChanged(const char* key, const char* value)
int height = QString(value).toInt(&ok);

if (ok && height > 0)
setFixedHeight(height);
setSize(width(), height);
}

else if (std::strncmp(key, "pageText #", 10) == 0)


Loading…
Cancel
Save