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
c7dc9837
Commit
c7dc9837
authored
Dec 05, 2014
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed no longer necessary code to adjust label sizes
parent
6550797f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
preferences.py
blink/preferences.py
+0
-7
No files found.
blink/preferences.py
View file @
c7dc9837
...
...
@@ -452,13 +452,6 @@ class PreferencesWindow(base_class, ui_class):
self
.
audio_input_device_label
.
setMinimumWidth
(
text_width
)
self
.
answer_delay_label
.
setMinimumWidth
(
text_width
)
# advanced settings
font_metrics
=
self
.
transports_label
.
fontMetrics
()
# we assume all labels have the same font
labels
=
(
self
.
transports_label
,
self
.
media_ports_label
,
self
.
tls_ca_file_label
)
text_width
=
max
(
font_metrics
.
width
(
label
.
text
())
for
label
in
labels
)
self
.
transports_label
.
setMinimumWidth
(
text_width
)
self
.
tls_ca_file_label
.
setMinimumWidth
(
text_width
)
# Adjust the combo boxes for themes with too much padding (like the default theme on Ubuntu 10.04)
combo_box
=
self
.
audio_input_device_button
option
=
QStyleOptionComboBox
()
...
...
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