Bug 330885

Summary: Misplaced editor in table view's combo box for right alignment
Product: [Applications] KEXI Reporter: Jarosław Staniek <staniek>
Component: TablesAssignee: Jarosław Staniek <staniek>
Status: CLOSED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.8 beta2   
Target Milestone: 2.8   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:
Attachments: Misplaced combo box editor in table view

Description Jarosław Staniek 2014-02-07 12:55:25 UTC
Editor in table view's combo box is misplaced when right column alignment is set. Right alignment is used for numbers.

Reproducible: Always

Steps to Reproduce:
Click the drop -down button for a lookup column that has visible column set to one of type number (integer or floating point)


See the attachment.

Actual Results:  
Misplaced editor appears

Expected Results:  
The editor should be properly aligned.

Margins/padding could be improved too.
Comment 1 Jarosław Staniek 2014-02-07 12:56:38 UTC
Created attachment 85032 [details]
Misplaced combo box editor in table view
Comment 2 Jarosław Staniek 2014-02-20 09:58:21 UTC
Git commit b1b274e7fd79fe13f7cb3cb6bbc9acde023fe904 by Jaroslaw Staniek.
Committed on 07/02/2014 at 13:11.
Pushed by staniek into branch 'calligra/2.8'.

Fix misplaced combobox editor and unnecessary scrollbars

- Misplaced editor in table view's combo box for right alignment
- Scrollbars sometimes appear in combo box popup even when they are not needed
Related: bug 330886
REVIEW:115537

M  +14   -8    kexi/widget/tableview/kexicomboboxtableedit.cpp
M  +23   -21   kexi/widget/tableview/kexiinputtableedit.cpp
M  +1    -0    kexi/widget/tableview/kexiinputtableedit.h
M  +5    -4    kexi/widget/tableview/kexitableedit.cpp
M  +4    -4    kexi/widget/tableview/kexitableview.cpp

http://commits.kde.org/calligra/b1b274e7fd79fe13f7cb3cb6bbc9acde023fe904
Comment 3 Jarosław Staniek 2014-02-20 10:08:47 UTC
Git commit 79193099af0b1c713574a7a4bf8e88ec992822db by Jaroslaw Staniek.
Committed on 07/02/2014 at 13:11.
Pushed by staniek into branch 'master'.

Fix misplaced combobox editor and unnecessary scrollbars

- Misplaced editor in table view's combo box for right alignment
- Scrollbars sometimes appear in combo box popup even when they are not needed
Related: bug 330886

M  +14   -8    kexi/widget/tableview/kexicomboboxtableedit.cpp
M  +23   -21   kexi/widget/tableview/kexiinputtableedit.cpp
M  +1    -0    kexi/widget/tableview/kexiinputtableedit.h
M  +5    -4    kexi/widget/tableview/kexitableedit.cpp
M  +4    -4    kexi/widget/tableview/kexitableview.cpp

http://commits.kde.org/calligra/79193099af0b1c713574a7a4bf8e88ec992822db