Skip to content

Commit d7cbe67

Browse files
Changed Ionp size to remove scroll bars (#120)
2 parents 901940b + 2d7a0de commit d7cbe67

File tree

3 files changed

+8
-74
lines changed

3 files changed

+8
-74
lines changed

tests/test_builder.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ def test_gb_extract_entities(gb: Builder, index, type, desc, P, M, R):
8787
def test_setup(gb: Builder):
8888
gb._services_dir = Path(f"example/{gb.beamline.dom}-services/services")
8989
gb._write_directory = Path("example/data")
90-
gb.setup()
9190
gb.generate_screens()
9291

9392
with open(f"./{gb._write_directory}/motor.bob") as f:

tests/test_files/motor.bob

Lines changed: 7 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -5,95 +5,30 @@
55
<name>motor</name>
66
<x>0</x>
77
<y>0</y>
8-
<width>610</width>
9-
<height>770</height>
10-
<widget type="embedded" version="2.0.0">
11-
<name>pmac.autohome</name>
12-
<width>205</width>
13-
<height>120</height>
14-
<file>../../src/techui_support/bob/pmacUtil/motor_embed.bob</file>
15-
<macros>
16-
<P>BL01T-MO-MAP-01:STAGE</P>
17-
</macros>
18-
<x>0</x>
19-
<y>0</y>
20-
</widget>
8+
<width>255</width>
9+
<height>470</height>
2110
<widget type="embedded" version="2.0.0">
2211
<name>X</name>
2312
<width>205</width>
2413
<height>120</height>
25-
<file>../../src/techui_support/bob/pmacUtil/motor_embed.bob</file>
14+
<file>../../src/techui_support/bob/pmac/motor_embed.bob</file>
2615
<macros>
2716
<P>BL01T-MO-MAP-01:STAGE</P>
2817
<M>X</M>
2918
</macros>
3019
<x>0</x>
31-
<y>150</y>
20+
<y>0</y>
3221
</widget>
3322
<widget type="embedded" version="2.0.0">
3423
<name>A</name>
3524
<width>205</width>
3625
<height>120</height>
37-
<file>../../src/techui_support/bob/pmacUtil/motor_embed.bob</file>
26+
<file>../../src/techui_support/bob/pmac/motor_embed.bob</file>
3827
<macros>
3928
<P>BL01T-MO-MAP-01:STAGE</P>
4029
<M>A</M>
4130
</macros>
4231
<x>0</x>
43-
<y>300</y>
44-
</widget>
45-
<widget type="embedded" version="2.0.0">
46-
<name>pmac.autohome</name>
47-
<width>205</width>
48-
<height>120</height>
49-
<file>../../src/techui_support/bob/pmacUtil/motor_embed.bob</file>
50-
<macros>
51-
<P>BL01T-MO-MAP-01:STAGE</P>
52-
</macros>
53-
<x>0</x>
54-
<y>450</y>
55-
</widget>
56-
<widget type="embedded" version="2.0.0">
57-
<name>X</name>
58-
<width>205</width>
59-
<height>120</height>
60-
<file>../../src/techui_support/bob/pmacUtil/motor_embed.bob</file>
61-
<macros>
62-
<P>BL01T-MO-MAP-01:STAGE</P>
63-
<M>X</M>
64-
</macros>
65-
<x>0</x>
66-
<y>600</y>
67-
</widget>
68-
<widget type="embedded" version="2.0.0">
69-
<name>A</name>
70-
<width>205</width>
71-
<height>120</height>
72-
<file>../../src/techui_support/bob/pmacUtil/motor_embed.bob</file>
73-
<macros>
74-
<P>BL01T-MO-MAP-01:STAGE</P>
75-
<M>A</M>
76-
</macros>
77-
<x>235</x>
78-
<y>0</y>
79-
</widget>
80-
<widget type="action_button" version="2.0.0">
81-
<name>pmac.GeoBrick</name>
82-
<width>100</width>
83-
<height>40</height>
84-
<pv_name>BL01T-MO-BRICK-01:None</pv_name>
85-
<text>BL01T-MO-BRICK-01</text>
86-
<actions>
87-
<action type="open_display">
88-
<description>Open Display</description>
89-
<macros>
90-
<P>BL01T-MO-BRICK-01</P>
91-
</macros>
92-
<file>../../src/techui_support/bob/pmac/pmacController.bob</file>
93-
<target>tab</target>
94-
</action>
95-
</actions>
96-
<x>235</x>
9732
<y>150</y>
9833
</widget>
9934
<widget type="action_button" version="2.0.0">
@@ -112,8 +47,8 @@
11247
<target>tab</target>
11348
</action>
11449
</actions>
115-
<x>355</x>
116-
<y>150</y>
50+
<x>0</x>
51+
<y>300</y>
11752
</widget>
11853
</widget>
11954
</display>

0 commit comments

Comments
 (0)