0

bug on progressmeter? theme atlantic

asked 2021-10-14 23:42:12 +0800

alexamm gravatar image alexamm
104 4

updated 2021-10-14 23:45:14 +0800

Hi, i have a problem with a progressmeter on theme atlantic, the percent is not showing correctly, the image of percent is too large. I attach images from progressmeter with 25,50,75 and 100%
progressmeter empty
image description
25%
image description
look the progress, it's more than 25%
with 50%
image description
75%
image description
and 100%
image description

using developer tools on firefox:
image description
the progressmeter width is 350px, and the image exceeds the width

The progressmeter is inside of vlayout width 100%
zk version:9.5.0.1
on chrome looks the same

Any idea?

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-10-15 17:36:51 +0800

cor3000 gravatar image cor3000
6270 2 7
ZK Team

I tried to reproduce the problem based on the given information ... in ZK 9.5.0.1.

<zk>
    <vlayout width="100%">
        <progressmeter value="0" width="350px"/>
        <progressmeter value="25" width="350px"/>
        <progressmeter value="50" width="350px"/>
        <progressmeter value="75" width="350px"/>
        <progressmeter value="100" width="350px"/>
    </vlayout>
</zk>

This didn't produce the problem you describe. (obviously when the page is less than 350px wide the progresmeter will be cut off on the right).

Since you're using 100% for the container the question is what's around the <vlayout>, so if you use 100% always ask ... 100% of what? 100% is meaningless by itself.

(Also make sure your atlantic theme jar is using the same version as your ZK. In case those don't match.) And in case you have custom styles try removing them just to verify these don't affect ZK's default styles.

link publish delete flag offensive edit

Comments

@cor3000 Hi, you right, the version of zk is 9.5.0.1, but the version of atlantic theme is 8.6.0.1, on mvn repository it's the last version

alexamm ( 2021-10-18 22:45:09 +0800 )edit

for available versions please have a look here (going up to 9.6.0.1) https://mavensync.zkoss.org/maven2/org/zkoss/theme/atlantic/

cor3000 ( 2021-10-19 00:13:45 +0800 )edit

@cor300 thanks a lot!

alexamm ( 2021-10-19 04:10:37 +0800 )edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2021-10-14 23:42:12 +0800

Seen: 5 times

Last updated: Oct 15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More