[Fedora-trans-ar] Arabic issue #13: QHBox automatically assigned postions in -reverse mode are not reasonable!

Mohamed Eldesoky m.eldesoky at tedata.net
Sun Feb 6 08:54:32 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Great effort Munzir,
Can you have those issues permanent on the arabic-fedora site, in the wiki !!

On Friday 04 February 2005 2:03 pm, Munzir Taha wrote:
> Qt Version: qt-x11-opensource-4.0.0-b2-snapshot-20050131
> System: Mandrake 10.1 on AMD64
>
> PROBLEM:
> QSpinBox and QSlider appear nicely laid out side by side inside
> the QHBox which automatically assigns reasonable positions and sizes to its
> children based on their needs but when I use the -reverse option I notice
> The left edge of the slider doesn't have any spacing at all
> so it looks as if it had been cut whereas in normal mode it looks as if
> rendered with setMargin(1) or something similar.
>
> CODE:
>         QHBoxWidget *hbox = new QHBoxWidget(0);
>         hbox->setMargin(1); //This is needed in RTL but not LTR
>
>         QSpinBox *spinBox = new QSpinBox(hbox);
>
>         QSlider *slider = new QSlider(Qt::Horizontal, hbox);

- -- 
Mohamed Eldesoky
Systems Engineer
RedHat Certified Engineer
TE Data
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCBdtK2FHsOWMJBKMRAh5MAKCI//PIm3TqOxNdk5gjgzbeefBHbwCfRLgg
GXIdK8wFsZNxo5XV7L7mnGU=
=7lnU
-----END PGP SIGNATURE-----




More information about the Fedora-trans-ar mailing list