Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
975c11d2
Commit
975c11d2
authored
Feb 10, 2016
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent the status message from shifting left/right when duration changes
parent
fc741dc8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
sessions.py
blink/sessions.py
+1
-0
audio_session.ui
resources/audio_session.ui
+0
-6
No files found.
blink/sessions.py
View file @
975c11d2
...
@@ -1321,6 +1321,7 @@ class AudioSessionWidget(base_class, ui_class):
...
@@ -1321,6 +1321,7 @@ class AudioSessionWidget(base_class, ui_class):
font
=
self
.
packet_loss_label
.
font
()
font
=
self
.
packet_loss_label
.
font
()
font
.
setPointSizeF
(
self
.
status_label
.
fontInfo
()
.
pointSizeF
()
-
1
)
font
.
setPointSizeF
(
self
.
status_label
.
fontInfo
()
.
pointSizeF
()
-
1
)
self
.
packet_loss_label
.
setFont
(
font
)
self
.
packet_loss_label
.
setFont
(
font
)
self
.
duration_label
.
setMinimumWidth
(
self
.
duration_label
.
fontMetrics
()
.
width
(
'0:00:00'
)
+
1
)
# prevent the status from shifting left/right when duration changes
self
.
mute_button
.
type
=
LeftSegment
self
.
mute_button
.
type
=
LeftSegment
self
.
hold_button
.
type
=
MiddleSegment
self
.
hold_button
.
type
=
MiddleSegment
self
.
record_button
.
type
=
MiddleSegment
self
.
record_button
.
type
=
MiddleSegment
...
...
resources/audio_session.ui
View file @
975c11d2
...
@@ -385,12 +385,6 @@
...
@@ -385,12 +385,6 @@
</property>
</property>
<item>
<item>
<widget
class=
"DurationLabel"
name=
"duration_label"
>
<widget
class=
"DurationLabel"
name=
"duration_label"
>
<property
name=
"minimumSize"
>
<size>
<width>
38
</width>
<height>
0
</height>
</size>
</property>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
0:00:00
</string>
<string>
0:00:00
</string>
</property>
</property>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment