parent
513dd56332
commit
cf88f2000a
|
@ -120,9 +120,9 @@ TitleBar::resizeEvent(QResizeEvent *)
|
||||||
{
|
{
|
||||||
int sizeProblem = 0;
|
int sizeProblem = 0;
|
||||||
|
|
||||||
if (width() < 80) sizeProblem = 3;
|
if (width() < 120) sizeProblem = 3;
|
||||||
else if (width() < 100) sizeProblem = 2;
|
else if (width() < 160) sizeProblem = 2;
|
||||||
else if (width() < 120) sizeProblem = 1;
|
else if (width() < 200) sizeProblem = 1;
|
||||||
|
|
||||||
switch (sizeProblem) {
|
switch (sizeProblem) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue