-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hey,
I tried to add a new button (Help) to the window caption like the maximize button or the close button.
I found this ZK Fiddle. This is basically what I want, but the two buttons "maximize" and "close" will be swaped by this css solution :(
Any idea how to solve this?
Thank you for your help
P.S.: I'm using ZK 8.0.5
since the example already uses CSS-flex you can use the order
-attribute to change the order. (https://developer.mozilla.org/en-US/docs/Web/CSS/order)
e.g.:
.z-window-minimize {
order: 1;
}
.z-window-maximize {
order: 2;
}
.z-window-close {
order: 3;
}
updated example: http://zkfiddle.org/sample/3gvkalg/457-custom-buttons-in-window-caption-7-0-2
Asked: 2018-10-23 17:46:25 +0800
Seen: 14 times
Last updated: Oct 26 '18