Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Size of TopWindow is different then the size I set for it
Re: Size of TopWindow is different then the size I set for it [message #48370 is a reply to message #48369] |
Mon, 26 June 2017 14:37 |
|
mirek
Messages: 13979 Registered: November 2005
|
Ultimate Member |
|
|
rafiwui wrote on Mon, 26 June 2017 13:32Yes it makes sense or I am doing sth else wrong, because my layout is not visible as a whole even if the size I give the rectangle and the size I give the layout are the same. I am not setting the layout as parent of my class. Maybe that leads to my problem:
class MyWindow : public TopWindow
{
// Menu bar is added here...
}
GUI_APP_MAIN
{
MyWindow app;
app.SetRect(0, 0, 300, 150);
WithMyLayout<TopWindow> layout;
SetLayout_MyLayout(app, layout, true, true);
app.Run();
}
Well, font zooming is there for a reason - your application should work with different GUI font!
I guess you should just do it right: Leave zooming active and actually zoom your own coordinates. E.g.
app.SetRect(0, 0, Zx(300), Zy(150));
Mirek
|
|
|
|
|
Size of TopWindow is different then the size I set for it
By: rafiwui on Fri, 23 June 2017 15:58
|
|
|
Re: Size of TopWindow is different then the size I set for it
By: mirek on Sat, 24 June 2017 15:23
|
|
|
Re: Size of TopWindow is different then the size I set for it
By: rafiwui on Mon, 26 June 2017 09:49
|
|
|
Re: Size of TopWindow is different then the size I set for it
By: rafiwui on Mon, 26 June 2017 12:51
|
|
|
Re: Size of TopWindow is different then the size I set for it
By: mirek on Mon, 26 June 2017 13:08
|
|
|
Re: Size of TopWindow is different then the size I set for it
By: rafiwui on Mon, 26 June 2017 13:32
|
|
|
Re: Size of TopWindow is different then the size I set for it
By: mirek on Mon, 26 June 2017 14:37
|
|
|
Re: Size of TopWindow is different then the size I set for it
By: rafiwui on Mon, 26 June 2017 14:51
|
|
|
Re: Size of TopWindow is different then the size I set for it
By: mirek on Mon, 26 June 2017 15:15
|
|
|
Re: Size of TopWindow is different then the size I set for it
By: rafiwui on Tue, 10 October 2017 08:54
|
|
|
Re: Size of TopWindow is different then the size I set for it
By: mirek on Sat, 14 October 2017 11:05
|
|
|
Re: Size of TopWindow is different then the size I set for it
By: rafiwui on Mon, 16 October 2017 09:29
|
|
|
Re: Size of TopWindow is different then the size I set for it
By: mirek on Mon, 16 October 2017 10:56
|
|
|
Re: Size of TopWindow is different then the size I set for it
By: rafiwui on Mon, 16 October 2017 12:08
|
Goto Forum:
Current Time: Mon May 13 07:06:46 CEST 2024
Total time taken to generate the page: 0.02431 seconds
|