mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-09 21:24:36 +00:00
Tweaked match table settings and bindings in results_window xibless UI.
--HG-- branch : xibless
This commit is contained in:
parent
1017e3c730
commit
b7e7e67c99
@ -67,6 +67,7 @@ owner.matches = table
|
|||||||
owner.optionsSwitch = optionsSegments
|
owner.optionsSwitch = optionsSegments
|
||||||
owner.optionsToolbarItem = optionsToolItem
|
owner.optionsToolbarItem = optionsToolItem
|
||||||
owner.stats = statsLabel
|
owner.stats = statsLabel
|
||||||
|
table.bind('rowHeight', defaults, 'values.TableFontSize', valueTransformer='vtRowHeightOffset')
|
||||||
|
|
||||||
# Rest of the setup
|
# Rest of the setup
|
||||||
result.minSize = Size(340, 340)
|
result.minSize = Size(340, 340)
|
||||||
@ -74,6 +75,13 @@ result.autosaveName = 'MainWindow'
|
|||||||
statsLabel.alignment = TextAlignment.Center
|
statsLabel.alignment = TextAlignment.Center
|
||||||
table.alternatingRows = True
|
table.alternatingRows = True
|
||||||
table.menu = contextMenu
|
table.menu = contextMenu
|
||||||
|
table.allowsColumnReordering = True
|
||||||
|
table.allowsColumnResizing = True
|
||||||
|
table.allowsColumnSelection = False
|
||||||
|
table.allowsEmptySelection = False
|
||||||
|
table.allowsMultipleSelection = True
|
||||||
|
table.allowsTypeSelect = True
|
||||||
|
table.gridStyleMask = const.NSTableViewSolidHorizontalGridLineMask
|
||||||
table.setAnchor(Pack.UpperLeft, growX=True, growY=True)
|
table.setAnchor(Pack.UpperLeft, growX=True, growY=True)
|
||||||
statsLabel.setAnchor(Pack.LowerLeft, growX=True)
|
statsLabel.setAnchor(Pack.LowerLeft, growX=True)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user