Comments (3)
The graphical glitch you're seeing is actually the widget working as intended.
You specify tickinterval=1
for the left-most TickScale
, causing it to create labels for all values from 1
to 30
. The same actually happens for the others, but due to the even higher number of labels, you don't see anything. There is no space for all those labels to be displayed correctly. Currently, they overlap, but they do so in a way that looks really weird. Try setting tickinterval
to a larger value. It might take some experimentation to find a value that looks nice for you.
from ttkwidgets.
You specify
tickinterval=1
for the left-mostTickScale
, causing it to create labels for all values from1
to30
. The same actually happens for the others, but due to the even higher number of labels, you don't see anything. There is no space for all those labels to be displayed correctly. Currently, they overlap, but they do so in a way that looks really weird. Try settingtickinterval
to a larger value. It might take some experimentation to find a value that looks nice for you.
Ok, thank you for explanation.
I need to remove this labels, but if i remove tickinterval
it shows all the floating point value above the slider.
Is there a way to have integers at top but not the label below?
from ttkwidgets.
SOLUTION: if you want only the value that "slides" and not the label at bottom, remove tickinterval
and insert digits=0
in the TickScale
parameters
from ttkwidgets.
Related Issues (20)
- ttkwidgets.Table error .... according to example code
- Overwritten configure methods don't return values
- AutocompleteCombobox has bug when type very quickly.
- Checkbox Treeview Image Replacing Checkbox HOT 2
- Is it possible to insert image along with ttkwidgets CheckboxTreeview
- Improvement ideas for ttkwidgets HOT 3
- Hooks and validated entries missing from Pypi package HOT 3
- Add screenshots in docs
- Library ttkwidgets==0.12.0 automatically installed under Python 2 HOT 3
- Merging new widgets
- checkboxTreeview: no highlighting row if selected HOT 1
- widgets don't work when using ScrolledFrame.
- Could not resolve import
- About timeline. HOT 1
- [Feature request] Get value range from Scale? HOT 1
- Autocomplete search match with case INSENSITIVE
- askfont - if I select first font type and then the size it don't work. HOT 1
- Change license to GNU LGPL instead of GPL? HOT 1
- Checkbox backgrounds HOT 1
- how to check AutocompleteCombobox is selected for calling a callback function
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 ttkwidgets.