Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
savoirfairelinux
jami-client-gnome
Commits
7efba021
Commit
7efba021
authored
Sep 06, 2019
by
Sébastien Blin
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
settings: align account box items
Change-Id: I695411010129eeffea3da11bceb2f413237baeca
parent
8dd6d762
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/newaccountsettingsview.cpp
src/newaccountsettingsview.cpp
+2
-3
No files found.
src/newaccountsettingsview.cpp
View file @
7efba021
...
...
@@ -2109,9 +2109,8 @@ new_account_settings_view_update(NewAccountSettingsView *view, gboolean reset_vi
auto
max_width
=
label_id
.
size
();
max_width
=
std
::
max
(
max_width
,
label_username
.
size
());
max_width
=
std
::
max
(
max_width
,
label_password
.
size
());
gtk_label_set_width_chars
(
GTK_LABEL
(
priv
->
label_id
),
max_width
+
1
);
gtk_label_set_width_chars
(
GTK_LABEL
(
priv
->
label_username
),
max_width
+
1
);
gtk_label_set_width_chars
(
GTK_LABEL
(
priv
->
label_password
),
max_width
+
1
);
if
(
label_id
.
size
()
!=
max_width
)
gtk_label_set_width_chars
(
GTK_LABEL
(
priv
->
label_id
),
max_width
+
1
);
}
else
{
gtk_switch_set_active
(
GTK_SWITCH
(
priv
->
sip_account_enabled
),
(
*
priv
->
accountInfo_
)
->
enabled
);
...
...
Andrew Novikov
@briskycat
mentioned in issue
#964 (closed)
·
Oct 04, 2019
mentioned in issue
#964 (closed)
mentioned in issue #964
Toggle commit list
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