Created
November 29, 2012 18:57
-
-
Save evanpurkhiser/4171120 to your computer and use it in GitHub Desktop.
Fixes windows 7 Explorer Content Margins
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/UIFILE 40960.xml b/UIFILE 40960.xml | |
index 475878a..3120476 100644 | |
--- a/UIFILE 40960.xml | |
+++ b/UIFILE 40960.xml | |
@@ -45,7 +45,7 @@ | |
<UIProperty id="atom(FileName)" propertycanonicalname="System.ItemNameDisplay" padding="rect(0,2rp,0,2rp)" layoutpos="left" tooltip="false" /> | |
</UIItem> | |
<UICollection resid="collection.smallicons" layout="borderlayout()" UIItemCreationPropMap="item.smallicons"> | |
- <ItemGridLayout id="atom(UIItemsHost)" layoutpos="top" padding="rect(14rp,0,0,0)" columnwidth="230rp" itemspacing="size(1rp,1rp)" /> | |
+ <ItemGridLayout id="atom(UIItemsHost)" layoutpos="top" padding="rect(0,0,0,0)" columnwidth="230rp" itemspacing="size(1rp,1rp)" /> | |
</UICollection> | |
<UIRootItem resid="rootitem.smallicons" layout="filllayout()" UICollectionCreationPropMap="*=collection.smallicons,grouped=collection.general.grouped,grouped.location=collection.general.grouped.location"> | |
<LineScroller> | |
@@ -73,10 +73,10 @@ | |
<element id="atom(UICollectionHost)" layoutpos="client" layout="filllayout()" /> | |
</UIGroupItem> | |
<UICollection resid="collection.list.groups" LogicalImageSize="16" virtualdirection="horizontal" layout="borderlayout()" UIItemCreationPropMap="item.list.grouped" DevirtualizeItems="true"> | |
- <ItemRowLayout id="atom(UIItemsHost)" layoutpos="left" virtualdirection="horizontal" padding="rect(14rp,0,0,0)" SeparatorLineHeight="1rp" SeparatorPadding="rect(4rp,0rp,9rp,0rp)" /> | |
+ <ItemRowLayout id="atom(UIItemsHost)" layoutpos="left" virtualdirection="horizontal" padding="rect(0,0,0,0)" SeparatorLineHeight="1rp" SeparatorPadding="rect(4rp,0rp,9rp,0rp)" /> | |
</UICollection> | |
<UICollection resid="collection.list.ungrouped" LogicalImageSize="16" virtualdirection="horizontal" layout="borderlayout()" UIItemCreationPropMap="item.list"> | |
- <ItemGridLayout id="atom(UIItemsHost)" virtualdirection="horizontal" alignmentmode="jaggedbottom" layoutpos="left" padding="rect(14rp,0,0,0)" columnwidth="20rp" itemspacing="size(10rp,1rp)" itemminsize="size(60rp,0rp)" itemmaxsize="size(800rp,0rp)" /> | |
+ <ItemGridLayout id="atom(UIItemsHost)" virtualdirection="horizontal" alignmentmode="jaggedbottom" layoutpos="left" padding="rect(0,0,0,0)" columnwidth="20rp" itemspacing="size(10rp,1rp)" itemminsize="size(60rp,0rp)" itemmaxsize="size(800rp,0rp)" /> | |
</UICollection> | |
<UICollection resid="collection.list.insidegroup" LogicalImageSize="16" virtualdirection="horizontal" layout="borderlayout()" UIItemCreationPropMap="item.list"> | |
<ItemGridLayout id="atom(UIItemsHost)" virtualdirection="horizontal" alignmentmode="jaggedbottom" layoutpos="client" columnwidth="20rp" itemspacing="size(10rp,1rp)" itemminsize="size(60rp,0rp)" itemmaxsize="size(800rp,0rp)" /> | |
@@ -99,7 +99,7 @@ | |
<element id="atom(UICollectionHost)" layoutpos="client" layout="filllayout()" /> | |
</UIGroupItem> | |
<UICollection resid="collection.list.grouped.location" virtualdirection="horizontal" layout="borderlayout()" UIItemCreationPropMap="item.list.grouped.location" DevirtualizeItems="true" LogicalImageSize="16"> | |
- <ItemRowLayout layoutpos="left" id="atom(UIItemsHost)" virtualdirection="horizontal" padding="rect(14rp,0,0,0)" /> | |
+ <ItemRowLayout layoutpos="left" id="atom(UIItemsHost)" virtualdirection="horizontal" padding="rect(0,0,0,0)" /> | |
</UICollection> | |
<UIRootItem resid="rootitem.list" layout="filllayout()" UICollectionCreationPropMap="*=collection.list.ungrouped,grouped=collection.list.groups,grouped.location=collection.list.grouped.location"> | |
<LineScroller virtualdirection="horizontal"> | |
@@ -122,7 +122,7 @@ | |
</element> | |
</UIItem> | |
<UICollection resid="collection.tiles" LogicalImageSize="48" layout="borderlayout()" UIItemCreationPropMap="item.tiles"> | |
- <ItemGridLayout id="atom(UIItemsHost)" layoutpos="top" padding="rect(14rp,0,0,0)" columnwidth="250rp" itemspacing="size(4rp,4rp)" /> | |
+ <ItemGridLayout id="atom(UIItemsHost)" layoutpos="top" padding="rect(0,0,0,0)" columnwidth="250rp" itemspacing="size(4rp,4rp)" /> | |
</UICollection> | |
<UIRootItem resid="rootitem.tiles" layout="filllayout()" UICollectionCreationPropMap="*=collection.tiles,grouped=collection.general.grouped,grouped.location=collection.general.grouped.location"> | |
<LineScroller> | |
@@ -142,7 +142,7 @@ | |
<UIProperty id="atom(FileName)" layoutpos="top" propertycanonicalname="System.ItemNameDisplay" contentalign="topcenter|wrapleft|endellipsis|editcontrol" tooltip="false" maxnumtextlines="4" /> | |
</UIItem> | |
<UICollection resid="collection.icons" layout="borderlayout()" UIItemCreationPropMap="item.icons"> | |
- <ItemGridLayout id="atom(UIItemsHost)" layoutpos="top" padding="rect(14rp,0,0,0)" alignmentmode="baseline|justify|jaggedbottom" minimumicontextwidth="74rp" itemspacing="size(1rp,1rp)" /> | |
+ <ItemGridLayout id="atom(UIItemsHost)" layoutpos="top" padding="rect(0,0,0,0)" alignmentmode="baseline|justify|jaggedbottom" minimumicontextwidth="74rp" itemspacing="size(1rp,1rp)" /> | |
</UICollection> | |
<UIRootItem resid="rootitem.icons" layout="filllayout()" UICollectionCreationPropMap="*=collection.icons,grouped=collection.general.grouped,grouped.location=collection.general.grouped.location"> | |
<LineScroller> | |
@@ -160,7 +160,7 @@ | |
<UIProperty resid="property.details.default" padding="rect(4rp,0,6rp,0)" active="keyboard" /> | |
<UIProperty resid="property.details.first" padding="rect(0,0,6rp,0)" /> | |
<UICollection resid="collection.details" LogicalImageSize="16" layout="borderlayout()" UIItemCreationPropMap="item.details"> | |
- <ItemRowLayout id="atom(UIItemsHost)" class="collection.details" layoutpos="top" padding="rect(14rp,0,0,0)" UseItemWidth="true" /> | |
+ <ItemRowLayout id="atom(UIItemsHost)" class="collection.details" layoutpos="top" padding="rect(0,0,0,0)" UseItemWidth="true" /> | |
</UICollection> | |
<UICollection resid="collection.details.grouped" LogicalImageSize="16" layout="borderlayout()" UIItemCreationPropMap="item.general.grouped" DevirtualizeItems="true"> | |
<ItemRowLayout id="atom(UIItemsHost)" layoutpos="top" /> | |
@@ -201,10 +201,10 @@ | |
<UISmartPropertyCollection layoutpos="left" sheet="smart.delta.2row" padding="rect(0,5rp,4rp,5rp)" tooltip="true" /> | |
</UIItem> | |
<UICollection resid="collection.smart.browse" LogicalImageSize="32" layout="borderlayout()" UIItemCreationPropMap="System.LayoutPattern.ContentViewModeForBrowse:*=item.smart.alpha,~=item.general.fetching,beta=item.smart.beta,gamma=item.smart.gamma,delta=item.smart.delta"> | |
- <ItemRowLayout id="atom(UIItemsHost)" class="collection.smart" layoutpos="top" padding="rect(14rp,0,0,0)" /> | |
+ <ItemRowLayout id="atom(UIItemsHost)" class="collection.smart" layoutpos="top" padding="rect(0,0,0,0)" /> | |
</UICollection> | |
<UICollection resid="collection.smart.search" LogicalImageSize="32" layout="borderlayout()" UIItemCreationPropMap="System.LayoutPattern.ContentViewModeForSearch:*=item.smart.alpha,~=item.general.fetching,beta=item.smart.beta,gamma=item.smart.gamma,delta=item.smart.delta"> | |
- <ItemRowLayout id="atom(UIItemsHost)" class="collection.smart" layoutpos="top" padding="rect(14rp,0,0,0)" /> | |
+ <ItemRowLayout id="atom(UIItemsHost)" class="collection.smart" layoutpos="top" padding="rect(0,0,0,0)" /> | |
</UICollection> | |
<UIRootItem resid="rootitem.smart" layout="filllayout()" UICollectionCreationPropMap="*=collection.smart.browse,sorted.search.*=collection.smart.search,grouped=collection.general.grouped,grouped.location=collection.general.grouped.location"> | |
<LineScroller> | |
@@ -652,7 +652,7 @@ | |
<ItemRowLayout SeparatorLine="themeable(rgb(220, 220, 220), gradient(window, windowtext, window, 3))" SeparatorLineHeight="1rp" SeparatorPadding="themeable(rect(4rp,-1rp,9rp,-1rp), rect(4rp,0,9rp,-1rp))" /> | |
</if> | |
<if TopCollection="true"> | |
- <UICollection padding="rect(0,6rp,0,0)" /> | |
+ <UICollection padding="rect(10rp,10rp,10rp,10rp)" /> | |
</if> | |
<UIViewHeader background="themeable(dtb(ItemsView::Header, 0, 1), dfc(4, 0x0010))" /> | |
<UIColumnHeader minwidth="30rp" foreground="themeable(gtc(ItemsView::Header, 1, 0, 3803), windowtext)" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment