Skip to content

Commit c366592

Browse files
oetikerodeimaiz
authored andcommitted
add svg logos (ITISFoundation#325)
* add svg logos
1 parent ff41cf4 commit c366592

File tree

4 files changed

+121
-4
lines changed

4 files changed

+121
-4
lines changed

services/web/client/source/class/qxapp/auth/ui/LoginPage.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,14 @@ qx.Class.define("qxapp.auth.ui.LoginPage", {
3838
this.__form = new qx.ui.form.Form();
3939

4040
let atm = new qx.ui.basic.Atom().set({
41-
icon: "qxapp/osparc-white-small.png",
41+
icon: "qxapp/osparc-white.svg",
4242
iconPosition: "top"
4343
});
44+
atm.getChildControl("icon").set({
45+
width: 250,
46+
height: 150,
47+
scale: true
48+
});
4449
this.add(atm);
4550

4651
let email = new qx.ui.form.TextField();

services/web/client/source/class/qxapp/desktop/NavigationBar.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ qx.Class.define("qxapp.desktop.NavigationBar", {
2525
};
2626

2727

28-
let logo = new qx.ui.basic.Image("qxapp/osparc-white-small.png").set({
29-
maxHeight: NAVIGATION_BUTTON_HEIGHT,
30-
maxWidth: 92,
28+
let logo = new qx.ui.basic.Image("qxapp/osparc-white.svg").set({
29+
width: 92,
30+
height: NAVIGATION_BUTTON_HEIGHT,
3131
scale: true
3232
});
3333
this.add(logo);
Loading

0 commit comments

Comments
 (0)