*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** verhoevenv has quit IRC | 01:44 | |
*** nash has joined #tp | 02:09 | |
*** Linkadmin has quit IRC | 02:35 | |
*** mithro has joined #tp | 03:54 | |
* llnz wanders off | 04:38 | |
llnz | later all | 04:38 |
---|---|---|
llnz | bbl | 04:38 |
*** llnz has quit IRC | 04:38 | |
*** Linkadmin has joined #tp | 04:50 | |
*** tansell-laptop has joined #tp | 06:06 | |
*** glew has quit IRC | 06:44 | |
*** tansell-laptop has quit IRC | 07:03 | |
*** bisc has joined #tp | 07:09 | |
bisc | tansell: ping | 07:26 |
tansell | bisc, pong | 07:26 |
bisc | tansell: have a look at this one please http://codereview.mithis.com/59001. I find the wrapping size in a more appropriate way. | 07:27 |
*** tansell-laptop has joined #tp | 07:27 | |
tansell | bisc, so there is no way using sizers to make this work? | 07:29 |
tansell | I'm a bit queasy about having all this hard coded calculations | 07:31 |
bisc | tansell: hmm, I don't know exactly. We need to tell the width of acceptable area for wxLabel to use wrapping. There aren't any other bindings for python in wxwidgets, unlike C++. And while determining this "acceptable area" - I don't see any other way. | 07:33 |
bisc | sizers themselves are broken by wxLabel which tells them that its minimum width equals to the full label width | 07:33 |
tansell | bisc, can we use something other then wxLabel which doesn't break sizers? | 07:34 |
*** cahirwpz has joined #tp | 07:36 | |
bisc | tansell: you're thinking about wxTextCtrl, which displays editable field? We can try (then text of any length can be placed in fixed-size area), but its appearance can be misleading. It says user to input something. | 07:36 |
tansell | bisc, no I had not specific control in mind | 07:37 |
bisc | tansell: when said wxLabel, I meant wxStaticText :). I think this control is appropriate for this purpose in general - we want to display read-only text there. The problem arises because this text can be of unlimited length and we have a panel with limited width. I think that this code is generic enough for this situation: it depends only on controls in given subpanel (a button for example). | 07:43 |
bisc | and it encapsulates all changes to individual subpanels | 07:43 |
bisc | and as we don't want to change them frequently - that's not crucial | 07:43 |
*** llnz has joined #tp | 07:50 | |
bisc | tansell: at least, that's better than before. In current repo version, long labels make buttons invisible. So, what do you think? | 07:54 |
tansell | bisc, I agree that it's better visually, I'm just trying to figure out a more elegant solution | 07:55 |
bisc | tansell: we are technologinally limited in number of options. Maybe a grid/tree for this panel is better? | 08:08 |
cahirwpz | hi all | 08:24 |
StupidIncarnate | tansell? | 08:26 |
*** bisc has quit IRC | 09:35 | |
*** bisc has joined #tp | 09:35 | |
*** bisc has quit IRC | 09:37 | |
*** bisc has joined #tp | 09:38 | |
*** null_000 has joined #tp | 09:54 | |
*** nash has quit IRC | 10:16 | |
* llnz wanders off | 11:15 | |
llnz | later all | 11:15 |
*** llnz has quit IRC | 11:15 | |
*** Linkadmin has quit IRC | 11:35 | |
*** null_000 has quit IRC | 11:44 | |
*** null_000 has joined #tp | 11:44 | |
*** verhoevenv has joined #tp | 11:47 | |
*** Linkadmin has joined #tp | 12:11 | |
*** Greywhind has quit IRC | 12:52 | |
*** StrangerDanger has quit IRC | 12:56 | |
*** null_000 has quit IRC | 12:57 | |
*** mithro has quit IRC | 12:59 | |
*** StrangerDanger has joined #tp | 13:00 | |
*** Greywhind has joined #tp | 13:17 | |
*** bisc has quit IRC | 14:48 | |
*** welterde has quit IRC | 17:30 | |
*** tpb has joined #tp | 17:32 | |
*** ChanServ sets mode: +o tpb | 17:32 | |
*** tpb has joined #tp | 17:36 | |
*** ChanServ sets mode: +o tpb | 17:36 | |
*** StupidIncarnate has quit IRC | 17:49 | |
*** glew has joined #tp | 18:08 | |
*** verhoevenv has quit IRC | 19:38 | |
*** verhoevenv has joined #tp | 19:40 | |
*** welterde has joined #tp | 19:41 | |
*** llnz has joined #tp | 21:05 | |
llnz | morning all | 21:05 |
llnz | glew: does sqlite not provide a function to escape strings for SQL? | 21:06 |
glew | it does | 21:06 |
glew | llnz: it just wasn't obvious from the function name | 21:07 |
glew | but it it exists and the fix worked | 21:07 |
llnz | ok | 21:08 |
llnz | cool | 21:08 |
*** verhoevenv_ has joined #tp | 21:38 | |
*** verhoevenv has quit IRC | 21:39 | |
*** verhoevenv__ has joined #tp | 21:39 | |
*** verhoevenv_ has quit IRC | 21:42 | |
*** Greywhind has quit IRC | 22:03 | |
*** cahirwpz has quit IRC | 22:58 | |
*** Greywhind has joined #tp | 23:46 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!