Skip to content

Commit 96ed563

Browse files
committed
ARROOOOOOOOOOOOOOW
1 parent 023e8b0 commit 96ed563

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

services/static-webserver/client/source/class/osparc/dashboard/SearchBarFilterExtended.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ qx.Class.define("osparc.dashboard.SearchBarFilterExtended", {
106106
control = new qx.ui.form.SelectBox().set({
107107
minWidth: 150,
108108
});
109+
control.getChildControl("arrow").syncAppearance(); // force sync to show the arrow
109110
this.self().decorateListItem(control.getChildControl("atom"));
110111
const searchBarFilter = this.getChildControl("search-bar-filter");
111112
searchBarFilter._addAt(control, 3); //"search-icon", "active-filters", "text-field", "reset-button"

services/static-webserver/client/source/class/osparc/theme/Appearance.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,21 @@ qx.Theme.define("osparc.theme.Appearance", {
450450
})
451451
},
452452

453+
"selectbox/arrow": {
454+
style: () => ({
455+
// keep the original source
456+
source: osparc.theme.common.Image.URLS["arrow-down"],
457+
// keep the original paddings
458+
paddingRight: 0,
459+
paddingLeft: 2,
460+
paddingTop: -3,
461+
// ensure the arrow has explicit size
462+
width: 16,
463+
height: 16,
464+
scale: true,
465+
})
466+
},
467+
453468
/*
454469
---------------------------------------------------------------------------
455470
PROGRESSBAR

0 commit comments

Comments
 (0)