Hi,
following issue: When I try to edit an exported VO GUI in XSharp/Visual Studio Designer, *.xsfrm and *.rc and *.prg files gets regenerated. So far so good, but the regeneration breaks the previous layout/sizing of controls. I believe it has something to do with screen resolution also. I have to resize all controls by hand to fix it.
Did anyone else experience this behaviour?
Editing exported VO GUI in VS Designer leads to broken gui
-
- Posts: 75
- Joined: Sun Sep 20, 2020 7:25 am
- Location: Germany
Editing exported VO GUI in VS Designer leads to broken gui
Hi,
Were the VO windows created and then exported and edited in X# in the same machine, or at least both had the same screen settings? If not, can you please post the specifications in both machines?
Were the VO windows created and then exported and edited in X# in the same machine, or at least both had the same screen settings? If not, can you please post the specifications in both machines?
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
-
- Posts: 75
- Joined: Sun Sep 20, 2020 7:25 am
- Location: Germany
Editing exported VO GUI in VS Designer leads to broken gui
Hi, with specs you mean resolution?
Editing exported VO GUI in VS Designer leads to broken gui
Yes, resolution and system font size.
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Editing exported VO GUI in VS Designer leads to broken gui
Hello,
this is/was also an issue in VO.
If you have a window designed with normal sized fonts, and save it with large fonts, the positions get changed.
Therefore I always used normal sized fonts when working with VO.
Wolfgang
this is/was also an issue in VO.
If you have a window designed with normal sized fonts, and save it with large fonts, the positions get changed.
Therefore I always used normal sized fonts when working with VO.
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
-
- Posts: 75
- Joined: Sun Sep 20, 2020 7:25 am
- Location: Germany
Editing exported VO GUI in VS Designer leads to broken gui
Hi,
I have a real issue with this. For small and simple dialogs I can help myself by resizing dialogs and all included elements. But if I want to add an element to a large dialog from the past, this is a real pain.
I tried all sorts of resolution and scale factors in my windows settings. The thing is that it seems that I am able to edit some UIs. But others not. What is happening here? The xported UI looks fine in the compiled executable, but if I open and save it in VS Designer, it is messed up in size.
Do I really have to rearrange ALL exported UIs?! Is this a known Bug from VO? So I would need to know the screen resolution from the machine where this particular Dialog was created? But in VO I was able to edit this Dialogs. I am really confused here and unfortunatly this means a lot of work in an area, where I didin't plan to invest much time (old UI dialogs).
How can I proceed here?
I have a real issue with this. For small and simple dialogs I can help myself by resizing dialogs and all included elements. But if I want to add an element to a large dialog from the past, this is a real pain.
I tried all sorts of resolution and scale factors in my windows settings. The thing is that it seems that I am able to edit some UIs. But others not. What is happening here? The xported UI looks fine in the compiled executable, but if I open and save it in VS Designer, it is messed up in size.
Do I really have to rearrange ALL exported UIs?! Is this a known Bug from VO? So I would need to know the screen resolution from the machine where this particular Dialog was created? But in VO I was able to edit this Dialogs. I am really confused here and unfortunatly this means a lot of work in an area, where I didin't plan to invest much time (old UI dialogs).
How can I proceed here?
-
- Posts: 75
- Joined: Sun Sep 20, 2020 7:25 am
- Location: Germany
Editing exported VO GUI in VS Designer leads to broken gui
The dialogs were created and edited on different machines with different settings. I cannot tell you resolutions for the time the dialogs have been created.Chris post=24351 userid=313 wrote: ... Were the VO windows created and then exported and edited in X# in the same machine, or at least both had the same screen settings? If not, can you please post the specifications in both machines?
Editing exported VO GUI in VS Designer leads to broken gui
HI,
Can you please send me a few VO modules containing some of those windows, to have a look?
Can you please send me a few VO modules containing some of those windows, to have a look?
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Editing exported VO GUI in VS Designer leads to broken gui
I will dig into it as I seem to remember it could be fixed by changing the resource files. I hope I have some notes of this.
Dick
Dick
-
- Posts: 75
- Joined: Sun Sep 20, 2020 7:25 am
- Location: Germany
Editing exported VO GUI in VS Designer leads to broken gui
Hi guys,
good news. Just fixed the issue, by setting visual studio scaling to 100%. See this post https://learn.microsoft.com/en-us/visua ... ew=vs-2022
Thanks for your help!
good news. Just fixed the issue, by setting visual studio scaling to 100%. See this post https://learn.microsoft.com/en-us/visua ... ew=vs-2022
Thanks for your help!