|
04:26
wayland left
04:31
wayland joined
07:54
wayland left
|
|||
| patrickb | Quick question: How would I add a border around a dialog? Setting border width on e.g. a label works, but it seems to not have any effect on a node or center element. | 15:23 | |
| japhb | Make the surrounding .node a .widget instead, which gives it a drawing surface. Most of the layout methods that don't name a particular widget just create simplified layout/placement nodes that do not actually directly provide a drawing surface. | 18:17 | |
| But if you use the .widget layout method, it creates a generic Widget to scribble on. This will also give you a central point to filter events destined into your dialog, since events travel through the real widget hierarchy, not the layout tree. | 18:18 | ||
| I can't believe those lines ended up the same length purely by chance. | 18:19 | ||
| patrickb | Did that last message end up in the wrong window? | 19:05 | |
| Thanks for the quick reply! I'll try that! | |||
| japhb | Nope, it was referring to the two lines right above it (which are exactly the same length in my maximized irssi window). | 19:07 | |
| You're welcome, and good luck! | |||
| patrickb | Ah! No chance I would have noticed that on this smartphone with a non mono space font. :-P | 20:45 | |