Skip to content

Commit

Permalink
fixed resize/overflow when text in NOW/NEXT/WARN is too long
Browse files Browse the repository at this point in the history
  • Loading branch information
saschaludwig committed Mar 6, 2020
1 parent ea8454c commit 271848e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog
All notable changes to this project will be documented in this file.

## [0.9.1 beta4]
### Changed
- Fix window resize when displaying long text in NOW/NEXT/WARN

## [0.9.1 beta3]
### Added
Expand Down
22 changes: 20 additions & 2 deletions mainscreen.ui
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>1001</width>
<height>791</height>
<width>1039</width>
<height>788</height>
</rect>
</property>
<property name="minimumSize">
Expand Down Expand Up @@ -568,6 +568,12 @@ color: rgb(255, 255, 255);</string>
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>FreeSans</family>
Expand All @@ -592,6 +598,12 @@ color: rgb(255, 255, 255);</string>
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>FreeSans</family>
Expand All @@ -613,6 +625,12 @@ color: rgb(255, 255, 255);</string>
</item>
<item>
<widget class="QLabel" name="labelWarning">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>FreeSans</family>
Expand Down
2 changes: 1 addition & 1 deletion settings_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
import json
from weatherwidget import WeatherWidget as ww

versionString = "0.9.1beta3"
versionString = "0.9.1beta4"


# class OASSettings for use from OAC
Expand Down

0 comments on commit 271848e

Please sign in to comment.