From kde-kimageshop Mon Mar 21 08:05:03 2011 From: Valentin Cheillon Date: Mon, 21 Mar 2011 08:05:03 +0000 To: kde-kimageshop Subject: Re: bug fix : 251622 Message-Id: X-MARC-Message: https://marc.info/?l=kde-kimageshop&m=130069475010710 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--000e0cd23b84c5a307049ef99564" --000e0cd23b84c5a307049ef99564 Content-Type: multipart/alternative; boundary=000e0cd23b84c5a2f6049ef99562 --000e0cd23b84c5a2f6049ef99562 Content-Type: text/plain; charset=ISO-8859-1 Hello, My last fix was not screen resolution dependant ( I just got lucky when I tested ), This one is resolution dependant but the centering is still not perfect because some dialogs expand dynamically just after I positionned them. Here is a screen : http://img851.imageshack.us/i/filterdialogcenterwithw.png/ and the patch is enclosed. If you want it to be perfectly centered, I will investigate further. Thanks 2011/3/19 Valentin Cheillon > Hi again, > As Sven told me, there will be two different patches: one for the centering > of the dialogs, the other for removing > the margins inside the level filter dialog. > This is the patch for the first one. The centering is not perfect because I > don't understand all qt positioning mechanisms. > But I guess the result is still correct. > > 2011/3/19 Sven Langkamp > >> On Sat, Mar 19, 2011 at 3:10 PM, Valentin Cheillon < >> cheillonvalentin@gmail.com> wrote: >> >>> Hello everyone, >>> >>> I tried to fix this bug http://bugs.kde.org/251622. >>> It was just about modifying properties with qtDesigner >>> I Hope the patch fits your needs because it was just about qt layout >>> management and I am not a pro on it. >>> You can find the patch attached done with git diff. >>> >> >> The patch only decreases the size of the widget, but the dialog is still >> too big. >> See http://i.imgur.com/Ydv5U.png >> >> _______________________________________________ >> kimageshop mailing list >> kimageshop@kde.org >> https://mail.kde.org/mailman/listinfo/kimageshop >> >> > --000e0cd23b84c5a2f6049ef99562 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,
My last fix was not screen resolution dependant ( I just got luck= y when I tested ), This one is resolution dependant but the centering is st= ill not perfect
because some dialogs expand dynamically just after I pos= itionned them. Here is a screen : http://img851.imageshack.us/i/filterdialogcen= terwithw.png/
and the patch is enclosed. If you want it to be perfectly centered, I will = investigate further.
Thanks

2011/3/19 = Valentin Cheillon <cheillonvalentin@gmail.com>
Hi again,
As S= ven told me, there will be two different patches: one for the centering of = the dialogs, the other for removing
the margins inside the level filter dialog.
This is the patch for the fi= rst one. The centering is not perfect because I don't understand all qt= positioning mechanisms.
But I guess the result is still correct.

=
2011/3/19 Sven Langkamp <sven.lang= kamp@gmail.com>
=
On Sat, Mar 19, 2011 at 3:1= 0 PM, Valentin Cheillon <cheillonvalentin@gmail.com> wrote:
Hello everyone,

I tried to fix this bug=A0 http://bugs.kde.org/251622.
It was j= ust about modifying properties with qtDesigner
I Hope the patch fits you= r needs because it was just about qt layout management and I am not a pro o= n it.
You can find the patch attached done with git diff.
<= br>
The patch only decreases the size of the widget, but the dia= log is still too big.
See http://i.imgur.com/Ydv5U.png

_______________________________________________
kimageshop mailing list
kimageshop@kde.org<= /a>
https://mail.kde.org/mailman/listinfo/kimageshop



--000e0cd23b84c5a2f6049ef99562-- --000e0cd23b84c5a307049ef99564 Content-Type: text/x-patch; charset=US-ASCII; name="centering_bug.patch" Content-Disposition: attachment; filename="centering_bug.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_glj3y88b1 ZGlmZiAtLWdpdCBhL2tyaXRhL3VpL2tpc19maWx0ZXJfaGFuZGxlci5jYyBiL2tyaXRhL3VpL2tp c19maWx0ZXJfaGFuZGxlci5jYwppbmRleCAyNzA1YjlkLi5jZTQ4MmM3IDEwMDY0NAotLS0gYS9r cml0YS91aS9raXNfZmlsdGVyX2hhbmRsZXIuY2MKKysrIGIva3JpdGEvdWkva2lzX2ZpbHRlcl9o YW5kbGVyLmNjCkBAIC0xMzEsNiArMTMxLDEyIEBAIHZvaWQgS2lzRmlsdGVySGFuZGxlcjo6c2hv d0RpYWxvZygpCiAgICAgICAgICAgICAgICAgU0xPVChhcHBseShLaXNOb2RlU1AsIEtpc0ZpbHRl ckNvbmZpZ3VyYXRpb24qKSkpOwogICAgICAgICBkaWFsb2ctPnNldFZpc2libGUodHJ1ZSk7CiAg ICAgICAgIGRpYWxvZy0+c2V0QXR0cmlidXRlKFF0OjpXQV9EZWxldGVPbkNsb3NlKTsKKworICAg ICAgICAvL3Bvc2l0aW9ubmluZyB0aGUgd2lkZ2V0IHRvIHRoZSBjZW50ZXIKKyAgICAgICAgaW50 IHg9bV9kLT52aWV3LT5nZW9tZXRyeSgpLngoKSttX2QtPnZpZXctPmdlb21ldHJ5KCkud2lkdGgo KS8yLWRpYWxvZy0+d2lkdGgoKS8yOworICAgICAgICBpbnQgeT1tX2QtPnZpZXctPmdlb21ldHJ5 KCkueSgpK21fZC0+dmlldy0+Z2VvbWV0cnkoKS5oZWlnaHQoKS8yLWRpYWxvZy0+aGVpZ2h0KCkv MjsKKyAgICAgICAgZGlhbG9nLT5zZXRHZW9tZXRyeSh4LHksZGlhbG9nLT53aWR0aCgpLGRpYWxv Zy0+aGVpZ2h0KCkpOworCiAgICAgfSBlbHNlIHsKICAgICAgICAgYXBwbHkobV9kLT52aWV3LT5h Y3RpdmVOb2RlKCksIG1fZC0+ZmlsdGVyLT5kZWZhdWx0Q29uZmlndXJhdGlvbihtX2QtPnZpZXct PmFjdGl2ZU5vZGUoKS0+b3JpZ2luYWwoKSkpOwogICAgIH0K --000e0cd23b84c5a307049ef99564 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kimageshop mailing list kimageshop@kde.org https://mail.kde.org/mailman/listinfo/kimageshop --000e0cd23b84c5a307049ef99564--