Kivy slider taking precedence over carousel...

Joined
Mar 5, 2025
Messages
3
Reaction score
0
Hi All...
I am a total newbie to Python & Kivy...
I am actually a VBA Developer and am now needing to convert my Excel App to an Android App...
Demo Here

I have gotten quite far but now am having an issue with a slider control over a carousel...
I cannot get both to work in sync...Actually...None of my buttons on the lower layers work...
Here is my code...

Code:
<EzLaunchScreen>:
   name: 'EzLaunch'
   # This is for the First screen below slider...
   Image:
       source: 'Images\launchScreen.png'
 
 # This is the carousel library of brands...
    FloatLayout:
        Carousel:
            direction: 'right'
            Image:
                source: 'Images\Carousel\Jose-Cuervo.png'
            Image:
                source: 'Images\Carousel\Bains.png'
    # This is the slider control for alcohol levels...          
    Slider:
        min: 0
        max: 30
        step: .25
        cursor_image: 'Images\slider.png'
        cursor_width: 238
        cursor_height: 15
        orientation: 'vertical'

This is my output...

Output.jpg



Cross posted...
Here & Here

Sadly no responses...
Any advice or direction please...
 
Joined
Mar 5, 2025
Messages
3
Reaction score
0
Okay, so managed to figure this out...
Am posting just in case some other newbies wanna check one day...

Code:
FloatLayout:
        # This is the carousel library of brands...
        Carousel:
            id: carousel
            on_index: root.update_image_name(*args)
            direction: 'right'       
            Image:
                id: Idx         
                source: 'Images\Carousel\Jose Cuervo.png'
            Image:
                source: 'Images\Carousel\Bains.png'
        # This is the slider control for alcohol levels...         
        Slider:
            min: 0
            max: 30
            step: .25
            cursor_image: 'Images\slider.png'
            cursor_width: 238
            cursor_height: 15 
            orientation: 'vertical'
            size_hint: None, None
            size: '320dp', '500dp'
            pos_hint: {'x': 0,'y': 0.011}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,289
Messages
2,571,435
Members
48,121
Latest member
ColinHibne

Latest Threads

Top