Skip to content

Commit 2bfcd00

Browse files
committed
[MultiRC] - add seperation to make config setting visible
1 parent 7a3998a commit 2bfcd00

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

multirc/src/plugin.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,22 +48,22 @@ class MultiRCSetup(ConfigListScreen, Screen):
4848
if height == 2160:
4949
skin = """
5050
<screen position="center,center" size="1500,840" title="Multi RemoteControl" >
51-
<widget name="config" position="30,30" size="1440,120" scrollbarMode="showOnDemand" />
51+
<widget name="config" position="30,30" size="1440,120" seperation="720" scrollbarMode="showOnDemand" />
5252
<widget name="warning" position="30,150" size="1440,660" font="Regular;60" halign="center"/>
5353
</screen>"""
5454
elif height == 1080:
5555
skin = """
5656
<screen position="center,center" size="750,420" title="Multi RemoteControl" >
57-
<widget name="config" position="15,15" size="720,60" scrollbarMode="showOnDemand" />
57+
<widget name="config" position="15,15" size="720,60" seperation="360" scrollbarMode="showOnDemand" />
5858
<widget name="warning" position="15,75" size="720,330" font="Regular;30" halign="center"/>
5959
</screen>"""
6060
else:
6161
skin = """
6262
<screen position="center,center" size="500,280" title="Multi RemoteControl" >
63-
<widget name="config" position="10,10" size="480,40" scrollbarMode="showOnDemand" />
63+
<widget name="config" position="10,10" size="480,40" seperation="240" scrollbarMode="showOnDemand" />
6464
<widget name="warning" position="10,50" size="480,220" font="Regular;20" halign="center"/>
6565
</screen>"""
66-
66+
6767
# most of the following is black magic copied from other plugins.
6868
# e2 devs should really make some best practices or wrapper for this!
6969
def __init__(self, session, args = None):

0 commit comments

Comments
 (0)