This commit is contained in:
arcan1s
2014-03-31 01:05:05 +04:00
parent d66bafa816
commit 3545b9c1f1
11 changed files with 328 additions and 291 deletions

View File

@ -324,7 +324,7 @@ class Reinit():
self.parent.label_time.setText(text)
self.parent.layout.addItem(self.parent.label_time)
if not confAccept:
self.parent.layout.setContentsMargins(0, 0, 0, 0)
self.parent.layout.setContentsMargins(1, 1, 1, 1)
self.parent.applet.setLayout(self.parent.layout)
self.parent.theme = Plasma.Svg(self.parent)
self.parent.theme.setImagePath("widgets/background")

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>575</width>
<height>561</height>
<height>588</height>
</rect>
</property>
<property name="sizePolicy">
@ -42,6 +42,16 @@
<string>Widget settings</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Detailed information may be found on &lt;a href=&quot;http://arcanis.name/projects/pytextmonitor/&quot;&gt;project homepage&lt;/a&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="layout_time">
<item>