[Mono-winforms-list] Control Resize?
Josh
TwoOneSix at thatclothingco.com
Wed Apr 9 14:25:54 EDT 2008
To test, how can I statically set the control to use a Linux default font?
I'm on Fedora and have the liberation fonts installed.
Still continuing to test, I'm only finding minor placement issues with
Labels, LinkLabels, List/Combo boxes (which is to be expected) but the
aforementioned control text as well as all checkbox/radiobox controls hasn't
changed. I have tried setting the fonts to something huge (10) and also to
small (5) but the control looks no different while running under Mono in
linux.
Josh
On Wed, Apr 9, 2008 at 1:57 PM, Luke Page <luke.a.page at gmail.com> wrote:
> Gert found issues which *looked* related to font measuring on the
> RichTextBox, with non default fonts, which only occured on Linux, but I
> don't have anything set up to test it.
>
> On Wed, Apr 9, 2008 at 6:27 PM, Josh <TwoOneSix at thatclothingco.com> wrote:
>
> > On Mon, Apr 7, 2008 at 2:58 PM, Jonathan Pobst <monkey at jpobst.com>
> > wrote:
> >
> > > That is weird, I don't think I've seen that before.
> > >
> > > Can you please file a bug with the source code of the simple app you
> > > created? I'll take a look at it.
> > >
> > > http://www.mono-project.com/Bugs
> > >
> > > [Class Libraries -> System.Windows.Forms]
> > >
> > > Generally I just leave everything at the default font, so maybe the
> > > code is not correctly measuring non-default fonts.
> > >
> > > Thanks!
> > > Jonathan
> > >
> > >
> > > Josh wrote:
> > >
> > > > I'm working in VB on VS (Winforms) and Mono 1.9 and my apps are
> > > > working fine except when I run them under Mono it's almost like the text
> > > > inside of each control is being cut off and all my windows and context menus
> > > > appear to be "hacked off", even a simple right-click {copy, paste} the
> > > > context menu is cut short.
> > > >
> > > > I followed the FAQ: Winforms to get the main window to resize
> > > > correctly, but all my other windows and even my controls on that main window
> > > > are still "cut off". I tried the export and still nothing. Also, I'm getting
> > > > the same results on both the Windows and Linux versions of Mono. I'm
> > > > thinking that maybe there is an issue with font that is missing? I have
> > > > checked all over and can't seem to find a recommended font for mono
> > > > applications. I also tried to create a simple app with just a Menu control
> > > > and also got the exact same results.
> > > >
> > > > I have disabled "XP Style Menus" and even tried to set a static size
> > > > for the controls. This will make the control bigger, but it still hacks off
> > > > the text.
> > > >
> > > > In case my question is too hard to follow, please see the screen
> > > > shot at: http://www.thatclothingco.com/images/MonoWinformCut.png
> > > >
> > > > Josh
> > > >
> > > >
> > > >
> > > > ------------------------------------------------------------------------
> > > >
> > > > _______________________________________________
> > > > Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
> > > > http://lists.ximian.com/mailman/listinfo/mono-winforms-list
> > > >
> > >
> > >
> > I have a little more information on this issue.
> >
> > I was able to solve the WINDOW part of the issue by removing
> > "AutoScaleDimensions" and "AutoScaleMode" from each forms designer property
> > but some/most of my text based controls are still being hacked off. I'm
> > assuming that the stuff being "hacked off" also contains these properties
> > deeper in the controls. The most notable controls are the MenuStrip,
> > StatusStrip, ContextMenuStrip, and all ToolTips. Also, to correct what I had
> > originally stated, these controls appear to working fine in mono under
> > Windows, this issue is only on Mono under Linux.
> >
> > Is there a way to globally disable the AutoScale features? Does anyone
> > have any suggestions on how to resolve or at least start troubleshooting
> > what could be the cause?
> >
> > _______________________________________________
> > Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-winforms-list
> >
> >
>
>
> --
> Luke Page - 07790587889 - Ex Libris Records
>
> www.exlibrisrecords.co.uk - a creative & challenging independent record
> label, with wolves.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20080409/40e86d30/attachment-0001.html
More information about the Mono-winforms-list
mailing list