Skip to content

Commit bcf7b4a

Browse files
committed
adjust table size
1 parent 20987ea commit bcf7b4a

File tree

2 files changed

+68
-74
lines changed

2 files changed

+68
-74
lines changed

NarodMonWidget/Base.lproj/MainMenu.xib

Lines changed: 67 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -16,82 +16,10 @@
1616
<customObject id="YLy-65-1bz" customClass="NSFontManager"/>
1717
<customObject id="MIc-jK-RNp" customClass="StatusMenuController" customModule="NarodMonWidget" customModuleProvider="target">
1818
<connections>
19-
<outlet property="readingsTable" destination="TLr-yU-ecZ" id="wGO-ha-u0y"/>
2019
<outlet property="statusMenu" destination="wAj-RY-mUf" id="7js-na-PVc"/>
2120
<outlet property="updateMenuItem" destination="ccc-Rz-wju" id="N6P-38-kC1"/>
2221
</connections>
2322
</customObject>
24-
<scrollView wantsLayer="YES" borderType="none" autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="wzJ-Cj-3ka">
25-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
26-
<clipView key="contentView" drawsBackground="NO" id="mkO-Yh-5pE">
27-
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
28-
<subviews>
29-
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="firstColumnOnly" selectionHighlightStyle="none" columnReordering="NO" columnResizing="NO" multipleSelection="NO" emptySelection="NO" autosaveColumns="NO" typeSelect="NO" id="TLr-yU-ecZ">
30-
<rect key="frame" x="0.0" y="0.0" width="135" height="19"/>
31-
<autoresizingMask key="autoresizingMask"/>
32-
<size key="intercellSpacing" width="0.0" height="2"/>
33-
<color key="backgroundColor" name="windowBackgroundColor" catalog="System" colorSpace="catalog"/>
34-
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
35-
<tableColumns>
36-
<tableColumn identifier="name" editable="NO" width="60" minWidth="60" maxWidth="3.4028234663852886e+38" id="WFW-jN-D0T">
37-
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
38-
<font key="font" metaFont="smallSystem"/>
39-
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
40-
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
41-
</tableHeaderCell>
42-
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" alignment="left" title="Text Cell" usesSingleLineMode="YES" id="CTN-Ur-iJY">
43-
<font key="font" metaFont="system"/>
44-
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
45-
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
46-
</textFieldCell>
47-
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES"/>
48-
</tableColumn>
49-
<tableColumn identifier="value" width="25" minWidth="5" maxWidth="3.4028234663852886e+38" id="pdt-pb-5xq">
50-
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="right">
51-
<font key="font" metaFont="smallSystem"/>
52-
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
53-
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
54-
</tableHeaderCell>
55-
<textFieldCell key="dataCell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" alignment="right" title="0.0" id="Sc5-dX-Btq">
56-
<font key="font" metaFont="system"/>
57-
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
58-
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
59-
</textFieldCell>
60-
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES"/>
61-
</tableColumn>
62-
<tableColumn identifier="type" editable="NO" width="50" minWidth="5" maxWidth="3.4028234663852886e+38" id="JeS-gu-NdH">
63-
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
64-
<font key="font" metaFont="smallSystem"/>
65-
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
66-
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
67-
</tableHeaderCell>
68-
<textFieldCell key="dataCell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" alignment="left" title="d" id="xUu-PI-1qj">
69-
<font key="font" metaFont="system"/>
70-
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
71-
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
72-
</textFieldCell>
73-
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES"/>
74-
</tableColumn>
75-
</tableColumns>
76-
<connections>
77-
<outlet property="dataSource" destination="MIc-jK-RNp" id="ob2-WZ-M9Q"/>
78-
<outlet property="delegate" destination="MIc-jK-RNp" id="zcS-Oa-6iS"/>
79-
</connections>
80-
</tableView>
81-
</subviews>
82-
<color key="backgroundColor" name="windowBackgroundColor" catalog="System" colorSpace="catalog"/>
83-
</clipView>
84-
<edgeInsets key="scrollerInsets" left="60" right="0.0" top="0.0" bottom="0.0"/>
85-
<scroller key="horizontalScroller" verticalHuggingPriority="750" horizontal="YES" id="2xf-Cp-KKN">
86-
<rect key="frame" x="23" y="-15" width="0.0" height="15"/>
87-
<autoresizingMask key="autoresizingMask"/>
88-
</scroller>
89-
<scroller key="verticalScroller" verticalHuggingPriority="750" horizontal="NO" id="6YC-Ef-3rf">
90-
<rect key="frame" x="-15" y="-7" width="15" height="0.0"/>
91-
<autoresizingMask key="autoresizingMask"/>
92-
</scroller>
93-
<point key="canvasLocation" x="412" y="489"/>
94-
</scrollView>
9523
<menu id="wAj-RY-mUf">
9624
<items>
9725
<menuItem title="Обновить" keyEquivalent="u" id="ccc-Rz-wju">
@@ -103,7 +31,7 @@
10331
<menuItem title="Weather" id="6rQ-gp-sD7">
10432
<modifierMask key="keyEquivalentModifierMask"/>
10533
<connections>
106-
<outlet property="view" destination="TLr-yU-ecZ" id="SuK-G7-wpL"/>
34+
<outlet property="view" destination="ngT-QE-PSM" id="N8z-SF-mmx"/>
10735
</connections>
10836
</menuItem>
10937
<menuItem isSeparatorItem="YES" id="I6O-iu-YTW"/>
@@ -115,5 +43,71 @@
11543
</items>
11644
<point key="canvasLocation" x="75" y="145"/>
11745
</menu>
46+
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="firstColumnOnly" selectionHighlightStyle="none" columnReordering="NO" columnResizing="NO" multipleSelection="NO" emptySelection="NO" autosaveColumns="NO" typeSelect="NO" id="ngT-QE-PSM">
47+
<rect key="frame" x="0.0" y="0.0" width="222" height="19"/>
48+
<autoresizingMask key="autoresizingMask" flexibleMinX="YES"/>
49+
<size key="intercellSpacing" width="0.0" height="2"/>
50+
<color key="backgroundColor" name="windowBackgroundColor" catalog="System" colorSpace="catalog"/>
51+
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
52+
<tableColumns>
53+
<tableColumn identifier="" width="20" minWidth="10" maxWidth="3.4028234663852886e+38" id="YnU-kN-B1W">
54+
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
55+
<font key="font" metaFont="smallSystem"/>
56+
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
57+
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
58+
</tableHeaderCell>
59+
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="RMl-lx-jqK">
60+
<font key="font" metaFont="system"/>
61+
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
62+
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
63+
</textFieldCell>
64+
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
65+
</tableColumn>
66+
<tableColumn identifier="name" editable="NO" width="97" minWidth="60" maxWidth="3.4028234663852886e+38" id="RpR-yF-FMR">
67+
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
68+
<font key="font" metaFont="smallSystem"/>
69+
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
70+
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
71+
</tableHeaderCell>
72+
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" alignment="left" title="Text Cell" usesSingleLineMode="YES" id="v0n-Br-gA2">
73+
<font key="font" metaFont="system"/>
74+
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
75+
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
76+
</textFieldCell>
77+
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES"/>
78+
</tableColumn>
79+
<tableColumn identifier="value" editable="NO" width="55" minWidth="5" maxWidth="3.4028234663852886e+38" id="DyW-eg-Mgv">
80+
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="right">
81+
<font key="font" metaFont="smallSystem"/>
82+
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
83+
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
84+
</tableHeaderCell>
85+
<textFieldCell key="dataCell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" alignment="right" title="0.0" id="AK6-sS-X2l">
86+
<font key="font" metaFont="system"/>
87+
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
88+
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
89+
</textFieldCell>
90+
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES"/>
91+
</tableColumn>
92+
<tableColumn identifier="type" editable="NO" width="50" minWidth="5" maxWidth="3.4028234663852886e+38" id="v7x-Zt-bMW">
93+
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
94+
<font key="font" metaFont="smallSystem"/>
95+
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
96+
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
97+
</tableHeaderCell>
98+
<textFieldCell key="dataCell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" alignment="left" title="d" id="X6i-ck-j92">
99+
<font key="font" metaFont="system"/>
100+
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
101+
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
102+
</textFieldCell>
103+
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES"/>
104+
</tableColumn>
105+
</tableColumns>
106+
<connections>
107+
<outlet property="dataSource" destination="MIc-jK-RNp" id="4Z8-gW-esI"/>
108+
<outlet property="delegate" destination="MIc-jK-RNp" id="5jw-O3-Opf"/>
109+
</connections>
110+
<point key="canvasLocation" x="106.5" y="380.5"/>
111+
</tableView>
118112
</objects>
119113
</document>

NarodMonWidget/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundleShortVersionString</key>
2020
<string>2.0.0</string>
2121
<key>CFBundleVersion</key>
22-
<string>203</string>
22+
<string>227</string>
2323
<key>LSApplicationCategoryType</key>
2424
<string>public.app-category.weather</string>
2525
<key>LSMinimumSystemVersion</key>

0 commit comments

Comments
 (0)