<MQSKUnH--3-2@tutanota.com>
I've been practicing Timer task (https://eugenkiss.github.io/7guis/tasks/#timer) from 7 gui tasks and don't found a way to expand Slider widget. MCVE: https://pastebin.com/nscSbPeQ I want that Slider widget occupy all free space to right like ProgressBar already does. How it to do better?
<CANtNKfoE-m5F4r455EAFX1_5QDQ8zGi-b9zh5FpGO-KqL2OOUw@mail.gmail.com>
I recently implemented timer example in https://git.sr.ht/~eliasnaur/gio-example/tree/main/item/7gui/timer But, you are using `layout.Rigid` for the slider and progressbar, whereas it should use `layout.Flexed`. Without exact constraints, different widgets try to guess how much space to use. On Thu, Jan 7, 2021 at 4:52 PM <rimebeliskner@tutanota.com> wrote: > > I've been practicing Timer task (https://eugenkiss.github.io/7guis/tasks/#timer) from 7 gui tasks and don't found a way to expand Slider widget. > > MCVE: > > https://pastebin.com/nscSbPeQ > > I want that Slider widget occupy all free space to right like ProgressBar already does. > How it to do better?