Comments (10)
Can you reproduce this issue with Electron 1.7.x? I suspect this is caused by Chrome bug 597080 which was still present in older Electron versions.
from xel.
sorry for my ignorance jarek – I am using the prebuilt version 1.6.8 (I think last stable?) and I don't know how to update to 1.7.x ... (a quick tip here for a newbie?) But anyhow this seems to be the problem. If I build a new iconset like the one you are using (the boxy-svg stuff) and I use ONLY those icons than the icons seems to work well...
from xel.
hmmm... made some further testing. I suppose that there is somehow a conflict if we use the "Iconic" skin and other icons than the your icons from icons.svg...
from xel.
You can download Electron 1.7.1 from https://github.com/electron/electron/releases, it's still in beta stage, but I haven't noticed any issues so far.
from xel.
If I recall correctly, the old Chrome bug was triggered when there were two or more icons with the same name (like <x-icon name="edit"></x-icon>
in your code).
from xel.
thanks! using 1.7.1 solves the problem with the icons...
from xel.
sorry, unrelated question: seeing my screenshots above – how would I align the first button group left the second group in the middle and the third group on the right of my header using your x-box ?
from xel.
It's hard to say by looking at the code you pasted as you seem to be using some grid system. I would try applying justify-content: center;
and align-items: center;
on the <x-box>
and/or other containers.
from xel.
awesome! thanks... justify-content: space-between; was the answer :-)
from xel.
I have updated the minimal Electron version required by Xel in the docs, so we can close this now.
from xel.
Related Issues (20)
- <x-menu> The status will be deselected
- please fix relative import paths HOT 1
- package.js doesn't process theme files / iconsets on Windows.
- Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'styleMap') at #k (xel.js:1:51212) HOT 3
- Typescript support? HOT 1
- x-tagsinput leaves a trailing comma. HOT 1
- Deprecate global "size" setting HOT 1
- Popover API migration
- CSS Anchor Positioning API migration
- <x-input> Width HOT 1
- Can animation be disabled on elements? HOT 4
- No support for scrolling? HOT 5
- Popovers in <x-buttons> don't close HOT 2
- <x-tab> disabled prop does not work HOT 1
- <x-tooltip> does not work with <x-menuitem> HOT 4
- Some <x-colorselect> events don't work HOT 2
- <x-colorselect> returns selected value in rgb(...) format in some cases HOT 1
- <x-radios> don't have a change event HOT 3
- Support for <x-tooltip> in <x-select>
- "decrement-arrow" has wrong rotation HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xel.