[Marble-commits] KDE/kdeedu/marble/src/plasmoid
Davide Bettio
davide.bettio at kdemail.net
Sun Jul 11 23:12:02 CEST 2010
SVN commit 1148765 by bettio:
Fixed ui layout and labels align.
M +58 -15 worldclockConfig.ui
--- trunk/KDE/kdeedu/marble/src/plasmoid/worldclockConfig.ui #1148764:1148765
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0" >
<class>worldclockConfig</class>
<widget class="QWidget" name="worldclockConfig" >
@@ -9,11 +10,11 @@
<x>0</x>
<y>0</y>
<width>495</width>
- <height>272</height>
+ <height>275</height>
</rect>
</property>
<property name="sizePolicy" >
- <sizepolicy vsizetype="MinimumExpanding" hsizetype="MinimumExpanding" >
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -52,15 +53,12 @@
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" >
<widget class="QLabel" name="label" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Preferred" hsizetype="Fixed" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
<property name="text" >
<string>Projection:</string>
</property>
+ <property name="alignment">
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+ </property>
</widget>
</item>
<item row="0" column="1" >
@@ -85,10 +83,10 @@
</item>
</widget>
</item>
- <item row="1" column="0" >
+ <item row="2" column="0">
<widget class="QRadioButton" name="longitudeButton" >
<property name="sizePolicy" >
- <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -101,13 +99,13 @@
</property>
</widget>
</item>
- <item row="1" column="1" >
- <widget class="Marble::LatLonEdit" native="1" name="longitudeEdit" />
+ <item row="2" column="1">
+ <widget class="Marble::LatLonEdit" name="longitudeEdit" native="true"/>
</item>
- <item row="2" column="0" >
+ <item row="3" column="0">
<widget class="QRadioButton" name="daylightButton" >
<property name="sizePolicy" >
- <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -117,13 +115,58 @@
</property>
</widget>
</item>
- <item row="2" column="1" >
+ <item row="6" column="0">
+ <spacer name="verticalSpacer">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="5" column="0">
<widget class="QCheckBox" name="showdate" >
<property name="text" >
<string>Show date</string>
</property>
</widget>
</item>
+ <item row="4" column="0">
+ <spacer name="verticalSpacer_2">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>8</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="1" column="0">
+ <spacer name="verticalSpacer_3">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>8</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
</layout>
</widget>
<widget class="QWidget" name="tab_2" >
More information about the Marble-commits
mailing list