Make buttons larger

Raspberry Pi related support

Make buttons larger

Postby ColinT » 20 Jan 2017, 10:40

hello all,

i am using rune audio on a RPi 2B with the raspberry touchscreen.

i want to make the play controls and the bottom menu's larger.
i read this topic: support-for-7-touchscreen-monitor-for-raspberry-pi-t2868.html
and tried to do do it but nothing was happening. which part of the css do i have to edit to get it working?

thanks,
Colin
ColinT
 
Posts: 8
Joined: 20 Jan 2017, 10:27

Re: Make buttons larger

Postby rern » 20 Jan 2017, 12:50

This RuneUI Enhancement should make it easier to start with.
rAudio @ https://github.com/rern/rAudio-1
Raspberry Pi 4B
Raspberry Pi 3B > SMSL M8 DAC
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: Make buttons larger

Postby ColinT » 20 Jan 2017, 14:07

I have installed it, GPIO function is super! going to need it in the future.

But how do i make the buttons bigger?
ColinT
 
Posts: 8
Joined: 20 Jan 2017, 10:27

Re: Make buttons larger

Postby rern » 20 Jan 2017, 15:35

in /srv/http/assets/css/custom.css:
There are couple of #menu-top and #menu-bottom items to play with.
rAudio @ https://github.com/rern/rAudio-1
Raspberry Pi 4B
Raspberry Pi 3B > SMSL M8 DAC
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: Make buttons larger

Postby gabcosse » 20 Jan 2017, 17:10

Hi. In that file there is something for make the album image larger?
Tnx

Inviato dal mio Nexus 5 utilizzando Tapatalk
gabcosse
 
Posts: 11
Joined: 08 Jan 2017, 16:19

Re: Make buttons larger

Postby rern » 21 Jan 2017, 01:23

#coverart
and
#cover-art
rAudio @ https://github.com/rern/rAudio-1
Raspberry Pi 4B
Raspberry Pi 3B > SMSL M8 DAC
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: Make buttons larger

Postby ColinT » 21 Jan 2017, 15:45

Hello,

Thanks RERN for you help.

i now have a bigger interface, but.... :)
now the middle part is not fitting anymore, how can i adjust it to make it fit?
also the top en bottom menu do not disappear any more.

some screenshots attached
Attachments
Naamloos-1.jpg
screenshots
Naamloos-1.jpg (167.69 KiB) Viewed 1343 times
ColinT
 
Posts: 8
Joined: 20 Jan 2017, 10:27

Re: Make buttons larger

Postby rern » 21 Jan 2017, 21:33

rAudio @ https://github.com/rern/rAudio-1
Raspberry Pi 4B
Raspberry Pi 3B > SMSL M8 DAC
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

Re: Make buttons larger

Postby ColinT » 22 Jan 2017, 14:34

hello rern,

your solution in custom.js works, thanks.

your solution in custom.css did not work, this only makes the space between the time-knob and the buttons smaller.

is there another option that i can do?

thanks for your help so far :)

ColinT
ColinT
 
Posts: 8
Joined: 20 Jan 2017, 10:27

Re: Make buttons larger

Postby rern » 22 Jan 2017, 15:38

display: flex;
flex-flow: row wrap;
=>>
#time-knob ------- #coverart ---- #volume-knob
#play-group ---- #share-group --- #vol-group


order: n;
width: n%;
max-width: npx;
=>>
each of above flow left to right, wrap to new row on full

The #coverart was hidden so the rest moved up to filled the place instead.
rAudio @ https://github.com/rern/rAudio-1
Raspberry Pi 4B
Raspberry Pi 3B > SMSL M8 DAC
Raspberry Pi Zero W
User avatar
rern
 
Posts: 723
Joined: 14 Jul 2016, 08:15

support RuneAudio Donate with PayPal

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 14 guests
cron