[Done] Few Bugs

You need some new stunning features ? Tell us here.
Blankname
Enthusiast
Enthusiast
Posts: 120
Joined: Sun Oct 14, 2012 9:11 am

[Done] Few Bugs

Post by Blankname »

Image

1. The TextGadget or the StringGadget are bugged while inside a Frame3DGadget. As you can see in the provided screen even with the controls right next to each other in form design view. Once the code is compiled it has a large gap between them as if there was some sort of padding. This doesn't appear to happen once outside of the Frame3DGadget.

2. The ListViewGadget text is unreadable in design view mode (not mission critical, but would look more professional if all gadgets had the same font size and style as string gadget labels).
SniffTheGlove
Enthusiast
Enthusiast
Posts: 122
Joined: Sat Nov 19, 2011 6:51 pm

Re: [PB 5.11] Few Bugs

Post by SniffTheGlove »

Yes, I have noticed this as well. Win7 32Bit on 64bit OS

I could not understand why I had gaps everywhere when running yet in IDE it was perfect.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: [PB 5.11] Few Bugs

Post by Polo »

The ListView font is fixed.

About the gaps, it just seems I'm not using the exact same font/font size as your Windows version is using?
Unfortunately I cant really do anything about that, fonts and font sizes used by Windows (and indeed OSX and Linux) are not always the same, users also change them sometimes etc! :|
Blankname
Enthusiast
Enthusiast
Posts: 120
Joined: Sun Oct 14, 2012 9:11 am

Re: [PB 5.11] Few Bugs

Post by Blankname »

Polo wrote:The ListView font is fixed.

About the gaps, it just seems I'm not using the exact same font/font size as your Windows version is using?
Unfortunately I cant really do anything about that, fonts and font sizes used by Windows (and indeed OSX and Linux) are not always the same, users also change them sometimes etc! :|
I think an acceptable fix would be to change the font to Windows default. All Windows versions Vista, Windows 7, Windows 8 use 9pt by default. So at least the most used development environment (Windows) would be less buggy. Your form designer inherits the font style for other platforms, on Ubuntu 13.04 the form designer is quite interesting when developing a form. So I am not sure if you're drawing or just inheriting the default system font for drawing the text. But I would try to aim for Segoe UI 9pt for Windows machines. That would solve the issue, as changing the system font to your liking is a given for breaking things. Windows XP and earlier doesn't ship with this font, but that's not a big deal because the OS is discontinued by Microsoft very soon (can make a work-around to use another font for Windows XP users).
Blankname
Enthusiast
Enthusiast
Posts: 120
Joined: Sun Oct 14, 2012 9:11 am

Re: [PB 5.11] Few Bugs

Post by Blankname »

I can confirm this is due to the form designer using a different font size than the standard font that ships with windows.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: [PB 5.11] Few Bugs

Post by Polo »

On Windows > XP the form designer already uses Segoe UI 9pt.
Post Reply