Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » BUG with .lay files - 'Z's added
BUG with .lay files - 'Z's added [message #40049] |
Tue, 28 May 2013 20:41 ![Go to next message Go to next message](theme/default/images/down.png) |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
After several hours tinkering with GUI size difference in Win and Ububtu found what the problem is:
Removing the 'Z's from the .lay file works.
BUT: Each time Upp opens a package it automatically adds the 'Z's back in.
Here is a very minimal example:
Open up Size1.lay in a text editor like Notepad++ or Gedit and note that there are no 'Z's and leave that open.
Now in Upp open that package.
Now note in the text editor that the .lay file has been changed.
Click on cancel so not to reload.
Just add a couple spaces or whatever in that file then remove them as this will allow you to save the file WITHOUT the 'Z's.
Now the package will compile in Win or Ubuntu and the resulting GUI size will be the same.
Note that 'FrameLess(true); does not work in Ubuntu with GCC or GCC4.7 with upp 9071.
-
Attachment: Size1.rar
(Size: 1.31KB, Downloaded 197 times)
[Updated on: Tue, 28 May 2013 20:44] Report message to a moderator
|
|
|
Re: BUG with .lay files - 'Z's added [message #40051 is a reply to message #40049] |
Wed, 29 May 2013 08:18 ![Go to previous message Go to previous message](theme/default/images/up.png) |
Zbych
Messages: 327 Registered: July 2009
|
Senior Member |
|
|
nlneilson wrote on Tue, 28 May 2013 20:41 | Note that 'FrameLess(true); does not work in Ubuntu with GCC or GCC4.7 with upp 9071.
|
It doesn't work because window manager in Ubuntu doesn't allow to turn off window decorations. You have to configure it manually (in ccsm I guess).
Even chromium has double decorations because of this:
![index.php?t=getfile&id=4212&private=0](index.php?t=getfile&id=4212&private=0)
-
Attachment: 00.png
(Size: 20.26KB, Downloaded 368 times)
[Updated on: Wed, 29 May 2013 08:30] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Sep 01 07:33:36 CEST 2024
Total time taken to generate the page: 0.02255 seconds
|