Commit 3eb917df by NitefullWind

修复提示窗口信息可能会超出边框。

parent a07907aa
...@@ -96,17 +96,59 @@ ...@@ -96,17 +96,59 @@
</layout> </layout>
</item> </item>
<item> <item>
<widget class="QLabel" name="alertLabMsg"> <layout class="QHBoxLayout" name="horizontalLayout">
<property name="text"> <item>
<string>TextLabel</string> <spacer name="horizontalSpacer">
</property> <property name="orientation">
<property name="alignment"> <enum>Qt::Horizontal</enum>
<set>Qt::AlignCenter</set> </property>
</property> <property name="sizeHint" stdset="0">
<property name="wordWrap"> <size>
<bool>true</bool> <width>40</width>
</property> <height>20</height>
</widget> </size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="alertLabMsg">
<property name="minimumSize">
<size>
<width>350</width>
<height>110</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>350</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>TextLabel</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_4"> <layout class="QHBoxLayout" name="horizontalLayout_4">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment