#flex-dev Logs
Nov 06 2025
#flex-dev Calendar
04:25 AM Tom_L: morning
04:30 AM Tom_L: 42F 69F
04:55 AM JT-Cave: morning
07:32 AM JT-Cave: bug fix in flex not using g43/49 on the dro labels
07:37 AM Tom_L: ok
07:38 AM Tom_L: any ideas how to get the widgets in the tabs to expand? i've tried quite a few things
07:41 AM Tom_L: PR #384
07:54 AM JT-Cave: screen shot?
07:56 AM Tom_L: last video i posted
07:57 AM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/video/mill-touch-test2.mkv
07:59 AM JT-Cave: you need to set the layout for that container
07:59 AM JT-Cave: that has the two buttons in it
08:00 AM JT-Cave: the container that has probe enable in it
08:00 AM JT-Cave: needs a layout
08:01 AM Tom_L: i tried 3 horizontal in a vertical inside the tab
08:01 AM JT-Cave: paste the ui file or put it where I can get it
08:01 AM Tom_L: i'm obviously missing a step
08:01 AM * JT-Cave starts his chicken day
08:03 AM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/rpi5/GUI/
08:03 AM Tom_L: i'm using the 'full.ini example to test with
08:03 AM Tom_L: had to copy the resources etc over... i'll post those
08:04 AM JT-Cave: there is no layout on the main tab
08:04 AM Tom_L: where do i set that?
08:04 AM JT-Cave: right click on a blank area of the main tab and select a layout
08:05 AM JT-Cave: the tab widget is in a layout but the the tabs don't have a layout
08:05 AM Tom_L: i see
08:06 AM Tom_L: so i can put horizontal layouts inside the tab and set the tab to vertical
08:06 AM JT-Cave: and you might just drag layouts into the tab
08:06 AM JT-Cave: yes
08:06 AM JT-Cave: or grid layouts
08:06 AM Tom_L: i was trying to do that but missed the right click part
08:06 AM Tom_L: i dragged the vertical layout into the tab
08:06 AM Tom_L: i bet that will fix it
08:06 AM JT-Cave: in the layout view you can see no red boxes inside the tab
08:07 AM * JT-Cave heads for the shower
08:07 AM Tom_L: on that test i'd removed them
08:07 AM Tom_L: but i think i see what to do
08:16 AM Tom_L: thanks, that fixed it
08:44 AM JT-Cave: cool
08:54 AM rdtsc-w: now we're expecting to see a QtTom GUI to rival QtDragon :)
08:55 AM Tom_itx: don't count on it
08:55 AM Tom_itx is now known as Tom_L
08:58 AM Tom_L: gonna take a while to fix all the tabs
09:00 AM JT-Shop: the mouse is over rated
09:00 AM * JT-Shop needs to do a layout video
09:01 AM * JT-Shop heads to town
10:00 AM Tom_L: knocking out the 'easy' tabs first
12:06 PM * JT-Shop heads to Speck for some pizza
12:07 PM * Tom_L is having baked potato soup
02:13 PM JT-Mobile: Yo
02:47 PM Tom_L: yo
04:01 PM Tom_L: can you center an image in a button and when the button stretches keep the image centered?
04:02 PM Tom_L: instead of repeating the image in the button
04:18 PM Tom_L: i think i figured something out
04:32 PM lcnc-relay: <AllAboutJake@> when you're doing development on flexgui, do you run it from the cloned repo in your home directory somehow? What's the easiest way to use the cloned repo directory rather than the install in /usr
04:41 PM Tom_L: he probably does
04:42 PM Tom_L: i cloned it on git and use a local copy
04:42 PM Tom_L: then i push to my git and create a pull request back to JT's master copy
04:43 PM Tom_L: and i always update my git repo with his before i do anything
04:44 PM Tom_L: i have scripts that take care of the details
05:11 PM lcnc-relay: <AllAboutJake@> Yeah. I have the cloned copy too but when I run LinuxCNC it uses the version installed with the Deb rather than the cloned copy. Sure I can build and install the Deb each time but was wondering if there’s a faster way
05:27 PM rdtsc-w: that's how I do it... pull changes, build and install
05:28 PM rdtsc-w: have a script setup to build for amd64 and aarch64, only takes a minute on the rpi5
05:31 PM JT-Shop: I have a script to build and install from the gitgui/flexgui directory
05:35 PM JT-Shop: I have a launcher on the panel to build and install flexgui, it just takes a few seconds
05:37 PM Tom_L: gui is coming along nicely
05:37 PM JT-Shop: cool
05:38 PM Tom_L: i don't resize the probe buttons because it messes up the image
05:38 PM Tom_L: unless you know how to center/resize the image on the fly
05:38 PM JT-Shop: I'll have to look
05:39 PM Tom_L: basically all the images are 64 x 64 ish
05:39 PM JT-Shop: you can set the button to be fixed size
05:39 PM Tom_L: you make the button bigger and the image repeats
05:39 PM Tom_L: i did
05:40 PM Tom_L: that's what i'm goin with unless i can find a better way
05:41 PM Tom_L: would be nice to have moveable keypads :)
05:42 PM JT-Shop: moveable for popup number pad?
05:42 PM Tom_L: yessir
05:42 PM Tom_L: or remember the last location
05:42 PM Tom_L: and kbd
05:43 PM JT-Shop: you would need both to work
05:43 PM Tom_L: of course
05:44 PM JT-Shop: you can move the number pad and keyboard with your finger
05:44 PM Tom_L: yeah i know
05:45 PM Tom_L: if i'm on the parameter page there are quite a few settings and i keep having to move it
05:45 PM Tom_L: i think mdi is the only place i use the kbd
05:46 PM Tom_L: so far
05:47 PM Tom_L: touch doesn't work right when i'm running 2 monitors
05:49 PM * JT-Shop calls it a night
09:40 PM Tom_L: 98% done with the GUI