[Gambas-devel] Gambas2 IDE window too large for screen and won't resize..
Benoît Minisini
gambas at ...1...
Thu Jul 30 02:14:02 CEST 2009
> Reported by a Fedora user here:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=514616
>
> He claims that when launching Gambas2, the window sizes itself too large
> for a 1200x800
> screen(maybe larger). I cannot reproduce this failure on my system, but
> I have a rather large desktop resolution (1680 x 1050).
>
> Anyone have any ideas?
>
> ~spot
>
I don't understand when he claims that the Gambas 2 package does not depend on
QT 3 package. How could it be possible?
I think the following happens on Fedora:
1) Gambas 2 is installed with the QT 3 library.
2) The Qt 3 library is not correctly configured on Fedora unless another
package is installed. Or maybe it is not configured by default at all.
3) An unconfigured Qt 3 library (i.e. with no .qt/qtrc and no /etc/qtrc) uses
by default a big font (Helvetica, 13pt).
As Gambas dialog and window size are by default proportional to the font size,
the main window initial size with this font is 1050x850 pixels without the
window manager decorations. Small screens have a problem then...
I can reduce it, but it won't be the right fix.
I suggest that Fedora does like Mandriva: create a /etc/qtrc global
configuration file with the following contents:
--8<-------------------------------------------------------------------------
[General]
font=Sans,10,-1,5,0,0,0,0,0,0
--8<-------------------------------------------------------------------------
Mandriva put this file in a package named "qt3-common" which is a dependency
of "libqt3" and other Qt 3 related packages.
This way, all Qt 3 applications will have a good look by default.
Regards,
--
Benoît
More information about the Devel
mailing list