Set borderwidth and borderheight to zero for parttablewidget.h
Set the margin of partitionmanagerwidgetbase to zero. And reduced the fixed height from 80 to 74, to account for the change above. svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1136095
This commit is contained in:
parent
8f0e9c270d
commit
b97126b5e4
|
@ -14,6 +14,9 @@
|
|||
<string comment="@title:window">KDE Partition Manager</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="margin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="PartTableWidget" name="m_PartTableWidget" native="true">
|
||||
<property name="sizePolicy">
|
||||
|
@ -25,13 +28,13 @@
|
|||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>80</height>
|
||||
<height>74</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>80</height>
|
||||
<height>74</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="contextMenuPolicy">
|
||||
|
|
|
@ -42,6 +42,8 @@ class PartTableWidget : public PartWidgetBase
|
|||
|
||||
public:
|
||||
PartTableWidget(QWidget* parent);
|
||||
virtual qint32 borderWidth() const { return 0; } /**< @return border width */
|
||||
virtual qint32 borderHeight() const { return 0; } /**< @return border height */
|
||||
|
||||
public:
|
||||
void setPartitionTable(const PartitionTable* ptable);
|
||||
|
|
Loading…
Reference in New Issue