Register to post in forums, or Log in to your existing account
 

This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.     Home » Forums » TeSSH Discussion
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Wed Jul 30, 2008 8:58 am   

[2.34] Default Packages + Session Editor Cosmetics
 

So CMUD seems to only have Clickable URL's as a default.

as opposed to TeSSH which has them all.

Also look at the label alignment on each tab, most labels are wibbly wobbly again. It could just be me though as I have just reinstalled my work computer.
_________________
Taz :)
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Jul 30, 2008 4:25 pm   
 
Hmm, looks like I got my conditional compilation statement for this backwards. Thanks for letting me know.

And I'll check the label alignment. That particular dialog is using a Frame within a Frame and that sometimes causes the labels to misalign because Delphi tries to store the "overridden" label positions instead of just keeping the defaults. So sometimes I have to manually edit the frame to remove the overrides that it adds.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Thu Jul 31, 2008 9:51 pm   
 
Should be fixed in v2.35. I didn't find any problem with the font alignment in my testing, so let me know if the labels are still misaligned. If they are, please check other areas to see if any other screens have the same problem or not.
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Thu Jul 31, 2008 10:40 pm   
 
I still have misaligned labels, no idea why. Something I forgot to mention in the first post is that if you look at the two screenies closely you'll see that TeSSH doesn't have the Edit button for the packages list.
_________________
Taz :)
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Thu Jul 31, 2008 10:56 pm   
 
The missing Edit button is correct. The Edit button in CMUD opens the Shared Package Library, which doesn't exist in TeSSH. So that's normal.

Not sure about the font issue. Do any other screen show font alignment problems (like the Auto Login tab for the character, or any of the Setting Editor or Preferences screens)?

Also, go into your Windows Appearance properties tab and let me know what your default font is set to. For XP the default is Tahoma 8pt, so let me know if it is different from that.
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Fri Aug 01, 2008 12:37 pm   
 
I've just reinstalled XP and touched nothing but I've double checked and the font is Tahoma 8pt. Each tab has wobbly items:





The only thing that I could find that could even come close to being said to be wobbly in the preferences is Simutronics GSL settings but it's neither here nor there and I don't think many people would even notice it besides the fact that it wouldn't even be in TeSSH but of course all these wobblies are the same in CMUD as they are here in TeSSH.


I found a few wobblies in the Package Editor though, see the screenies below:





_________________
Taz :)
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri Aug 01, 2008 4:44 pm   
 
OK, thanks for the screen shots. Looks like I'm going to need to do more Windows XP testing. This is exactly the bug in the DevExpress Label component that they were supposed to have fixed months ago. I don't know why it started happening again (I haven't updated their components since they fixed it).

I hate this kind of bug...it drives me crazy! I don't know why a Developer that has been in business for over a decade can't make a simple Label component that remains properly right-aligned when the font for the form is changed. The font in the Delphi designer is Segio UI (the default for Vista), so when CMUD loads the form on your Windows system, it is changing the font to Tahoma, and the stupid labels don't understand how to stay right-aligned. It really pisses me off.

But thanks for reporting it.
Reply with quote
Rainchild
Wizard


Joined: 10 Oct 2000
Posts: 1551
Location: Australia

PostPosted: Sat Aug 02, 2008 10:48 am   
 
Are they "autosize" labels or fixed width labels? I've always had trouble with right aligning labels that are "autosized" so I ususally turn it over to fixed width, but that brings up other problems if your font/caption is too big, then it gets messed up as well... can't win!
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Sat Aug 02, 2008 4:57 pm   
 
Yes, they are autosized. And yes, that's the problem. DevExpress wants me to use fixed-width labels, but a) that isn't the default, so it's hard to remember to change it when making a new form, and b) it will make the problems with large font sizes even worse, which is something I want to improve in the future.

It's just annoying that autosize would work fine for left-aligned, but not right-aligned labels. Just an indication of how few developers use right-aligned labels anymore.
Reply with quote
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: Sat Aug 02, 2008 5:56 pm   
 
Well, I had to look pretty hard initially to see what was wrong. I wouldn't worry too much about everything lining up properly: it's hardly going to stop anyone using CMUD. Better support for large fonts would be nice though.
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Mon Aug 04, 2008 1:36 pm   
 
Nope it's not really an issue at all, cosmetic only. Knowing that Zugg is a perfectionist I probably shouldn't have posted anything but I also know that he'll sleep easier at night if it gets fixed once and for all if DevExpress sort themselves out.
_________________
Taz :)
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri Aug 15, 2008 3:00 am   
 
I still haven't had time to fix most of these issues, so they are all still present in the 2.36 version too.

At least I got around to making a temporary TeSSH icon though.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Thu Oct 30, 2008 8:35 pm   
 
OK, when I was looking at various bugs today, I tracked down the problem with the label right alignment. It was really bugging me.

I couldn't get this to fail on Vista, even when I set my default system font to Tahoma 8pt. But it failed on an actual XP machine. And then I learned why...

All of the forms in CMUD have their default font set to "Segeo UI 9pt" because the forms were designed on my Vista system and that was my system default font at the time. Even though CMUD changes the font to whatever your system default is when you run it, the problem is that when you load CMUD on WinXP, it can't find the "Segeo UI" font, so when it changes the font to the Tahoma system font, it doesn't know the proper size of the font that the form was designed with because it doesn't exist on the system. Windows replaces it with some other font by default (Arial maybe?) which has different sizes.

Bah. I wish Microsoft would just add the Vista fonts to their XP Windows Update and get it done with. It's just silly to have different default fonts on different versions of Windows. Driving developers like me crazy.

So to fix this I need to go through *all* of the forms in CMUD and override the font to something that exists on all versions of Windows (like Tahoma) instead of letting it use my Vista defaults. Annoying.
Reply with quote
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: Thu Oct 30, 2008 9:31 pm   
 
Zugg wrote:
So to fix this I need to go through *all* of the forms in CMUD and override the font to something that exists on all versions of Windows (like Tahoma) instead of letting it use my Vista defaults.

You mean instead of it using what your system default was at the time? I don't suppose there is a way of getting it to look at what your system default font is now (either locally or globally across all forms)? And automagically updating everything? No, probably just a pipe dream. Cool
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Thu Oct 30, 2008 10:07 pm   
 
Nope ;)

And yeah, Delphi was setting the form font to whatever the default was when I created the form. In the case of several forms, I had set the font to Segeo UI 9pt so that I could ensure that there was enough space for various labels. It was those forms that were causing the problem.

What I did was to change everything to "Tahoma 9pt". That way I can still look for labels that don't have enough space with the larger font, and yet retain a font that exists on both Vista and XP. This seems to have solved the problem.

But if you find any labels in 2.37 that I missed, let me know.
Reply with quote
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: Fri Oct 31, 2008 2:51 am   
 
Is 9pt what we get when we set Large Fonts in Windows instead of normal fonts which are 8pt? (I saw you mentioned Tahoma 8pt before.) Hmm, no, since large fonts are 25% bigger which would be 10pt if one started at 8pt...
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri Oct 31, 2008 3:20 am   
 
Correct...Large Fonts are still larger. You can't really design a form that looks good at both 8pt and 10pt. For Large Fonts you need to scale all of the form elements (and the form itself). That's what makes designing for Large Fonts so difficult. It's not just scaling everything, but making sure that everything scales in the correct proportions. When you have a mix of panels that are right-aligned, left-aligned, client-stretched, etc, it gets complicated.

Delphi does have a form scaling routine, and there are methods to detect the DPI and scale the form before it is displayed. It's just low on my priority list.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Feb 11, 2009 10:36 pm   
 
Btw, the label alignment should have been fixed in the CMUD 3.03 beta version, so those changes will show up for TeSSH in the 3.04 version that should be out within a couple of weeks. If you discover any label alignment issues in the current 3.03 beta of CMUD/Pro, please let me know.
Reply with quote
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Home » Forums » TeSSH Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
© 2009 Zugg Software. Hosted on Wolfpaw.net