|
|
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Configuartion Flags Windows -> Missing Captions and Buttons
|
|
|
Re: Configuartion Flags Windows -> Missing Captions and Buttons [message #3162 is a reply to message #3160] |
Tue, 09 May 2006 15:03 |
3togo
Messages: 83 Registered: May 2006 Location: Hong Kong SAR
|
Member |
|
|
I guess I've found where the bug comes from.
In Switch.cpp between line 202 and 211
//if(horz) {
// x += hr.Width() + sz.cy / 2;
// posx[i] = x;
//}
//else
y += linecy;
}
//if(horz)
// posx[i - 1] = sz.cx;
}
theide sets horz to true by default which contradicts with the visual display shown by the layout editor.
By the way, is there any way to set "switch button" to vertical within the layout editor.
Many thanks
3togo
[Updated on: Tue, 09 May 2006 15:05] Report message to a moderator
|
|
|
Re: Configuartion Flags Windows -> Missing Captions and Buttons [message #3163 is a reply to message #3162] |
Tue, 09 May 2006 15:18 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
3togo wrote on Tue, 09 May 2006 09:03 | I guess I've found where the bug comes from.
In Switch.cpp between line 202 and 211
//if(horz) {
// x += hr.Width() + sz.cy / 2;
// posx[i] = x;
//}
//else
y += linecy;
}
//if(horz)
// posx[i - 1] = sz.cx;
}
theide sets horz to true by default which contradicts with the visual display shown by the layout editor.
By the way, is there any way to set "switch button" to vertical within the layout editor.
Many thanks
3togo
|
I am afraid it is more complicated and has a lot of to do with that font....
The normal behaviour is: If it fits vertically, it is vertical. If not, it is horizontal.
With normal windows font, that dialog looks OK. However, the font on the screenshot does not seem normal MS SansSerif or Tahoma. (font on screenshot obviously has serifs).
Of course, U++ is able to deal with that as well, as it scales layouts based on current font. So far, it worked OK on any platform tested. But in this particular case, something went wrong...
What is that font?
Mirek
|
|
|
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sat Apr 27 00:19:57 CEST 2024
Total time taken to generate the page: 0.07406 seconds
|
|
|