|
|
Home » Community » Newbie corner » Frameless(true); bug, my error or ???
Frameless(true); bug, my error or ??? [message #37766] |
Sun, 11 November 2012 06:00 |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
Setting Frameless(true); there is a problem.
It not only takes the top off but the right side and bottom.
A few pixels would be fine like it does on the left side but a big chunk from the right and bottom clips the EditFields.
Changing values in dlg.lay or in the .cpp file makes no difference
as far as the clipping amount on the right and bottom.
LeftPosZ(4, 245).TopPosZ(50, 106);
SetRect(4, 50, 247, 105);
Here is with the frame:
http://www.nlneilson.com/wwposts/Frame-OK.jpg
Frameless(true); Or is there a correct way to do it?
[Updated on: Sun, 11 November 2012 06:21] Report message to a moderator
|
|
|
Re: Frameless(true); bug, my error or ??? [message #37779 is a reply to message #37766] |
Mon, 12 November 2012 01:12 |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
In 2010 I tinkered with FrameLess and did not have the clipping problem.
http://www.ultimatepp.org/forum/index.php?t=msg&goto=249 19&&srch=FrameLess#msg_24919
There were two problems then. On the task bar it didn't work correctly which seems OK now.
It was not drag able with out the top.
I will just have something like Ctrl+M+arrow keys.
For different computers the location is slightly different.
Clicking a Save>Exit option and:
leftP = GetRect().left;
topP = GetRect().top;
String LeftP = Format("%.0f", leftP);
String TopP = Format("%.0f", topP);
the location is saved to a .cfg file (along with a dozen other parameters) and only needs to be done once on each computer.
So now it is just a problem with the clipping.
On another computer the right is clipped so much it creates another menu bar and the bottom 2 EditField lines are gone.
It should be like this without the top bar:
http://www.nlneilson.com/wwposts/Frame-clip-4.png
[Updated on: Mon, 12 November 2012 01:16] Report message to a moderator
|
|
|
|
|
|
Re: Frameless(true); bug, my error or ??? [message #37845 is a reply to message #37838] |
Sat, 17 November 2012 04:11 |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
"The topP = 0; is at the top of the menu bar and not the frame."
Not so on Ubuntu.
It seems odd someone else has not run into this.
I will try again with upp 2164 where FrameLess(true); works correctly.
A few other problems also, will just revert back to where I was a few days ago.
[Updated on: Sat, 17 November 2012 04:36] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat May 04 14:02:38 CEST 2024
Total time taken to generate the page: 0.02751 seconds
|
|
|