-
Jun 19th, 2017, 08:35 PM
#1
Thread Starter
Junior Member
Winforms RTL sizing and positioning issues
Hey guys. Im developing a C# software on visual studio 2015. One of the forms is a fixed non sizable form that has arabic text and needs to be rtl(right to left). The problem is that as soon as i run the app the sizes and positions of most of the controls including the form itself changes drastically. This is really confusing me and i tried to play with all the settings and used different combinations and what works on a form doesnt work on the other and problems keep arising. I even tried to use TableLayout. Is there something i am missing out? Even the english form has slight and minor differences when run.
-
Jun 19th, 2017, 09:56 PM
#2
Re: Winforms RTL sizing and positioning issues
Originally Posted by Hope_feda
Im developing a C# software on visual studio 2015.
Then you should have posted in the C# forum. I've asked the mods to move this thread.
-
Jun 19th, 2017, 10:08 PM
#3
Re: Winforms RTL sizing and positioning issues
Thread Moved from VB.NET forum to C# forum
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
-
Jun 19th, 2017, 10:28 PM
#4
Re: Winforms RTL sizing and positioning issues
Can you provide a screenshot of your form in the designer with the Document Outline window open so we can clearly see the control hierarchy? It might take a bit of experimentation but I'd expect that by manipulating a TableLayoutPanel (which you appear to be using already) and a FlowLayoutPanel, you could get it to behave.
As for the difference between design and actually running the app, I suspect that it's using GDI to draw in one case and GDI+ in the other.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|