Monday, 2010-07-26

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** verhoevenv has quit IRC01:44
*** nash has joined #tp02:09
*** Linkadmin has quit IRC02:35
*** mithro has joined #tp03:54
* llnz wanders off04:38
llnzlater all04:38
llnzbbl04:38
*** llnz has quit IRC04:38
*** Linkadmin has joined #tp04:50
*** tansell-laptop has joined #tp06:06
*** glew has quit IRC06:44
*** tansell-laptop has quit IRC07:03
*** bisc has joined #tp07:09
bisctansell: ping07:26
tansellbisc, pong07:26
bisctansell: 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 #tp07:27
tansellbisc, so there is no way using sizers to make this work?07:29
tansellI'm a bit queasy about having all this hard coded calculations07:31
bisctansell: 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
biscsizers themselves are broken by wxLabel which tells them that its minimum width equals to the full label width07:33
tansellbisc, can we use something other then wxLabel which doesn't break sizers?07:34
*** cahirwpz has joined #tp07:36
bisctansell: 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
tansellbisc, no I had not specific control in mind07:37
bisctansell: 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
biscand it encapsulates all changes to individual subpanels07:43
biscand as we don't want to change them frequently - that's not crucial07:43
*** llnz has joined #tp07:50
bisctansell: at least, that's better than before. In current repo version, long labels make buttons invisible. So, what do you think?07:54
tansellbisc, I agree that it's better visually, I'm just trying to figure out a more elegant solution07:55
bisctansell: we are technologinally limited in number of options. Maybe a grid/tree for this panel is better?08:08
cahirwpzhi all08:24
StupidIncarnatetansell?08:26
*** bisc has quit IRC09:35
*** bisc has joined #tp09:35
*** bisc has quit IRC09:37
*** bisc has joined #tp09:38
*** null_000 has joined #tp09:54
*** nash has quit IRC10:16
* llnz wanders off11:15
llnzlater all11:15
*** llnz has quit IRC11:15
*** Linkadmin has quit IRC11:35
*** null_000 has quit IRC11:44
*** null_000 has joined #tp11:44
*** verhoevenv has joined #tp11:47
*** Linkadmin has joined #tp12:11
*** Greywhind has quit IRC12:52
*** StrangerDanger has quit IRC12:56
*** null_000 has quit IRC12:57
*** mithro has quit IRC12:59
*** StrangerDanger has joined #tp13:00
*** Greywhind has joined #tp13:17
*** bisc has quit IRC14:48
*** welterde has quit IRC17:30
*** tpb has joined #tp17:32
*** ChanServ sets mode: +o tpb17:32
*** tpb has joined #tp17:36
*** ChanServ sets mode: +o tpb17:36
*** StupidIncarnate has quit IRC17:49
*** glew has joined #tp18:08
*** verhoevenv has quit IRC19:38
*** verhoevenv has joined #tp19:40
*** welterde has joined #tp19:41
*** llnz has joined #tp21:05
llnzmorning all21:05
llnzglew: does sqlite not provide a function to escape strings for SQL?21:06
glewit does21:06
glewllnz: it just wasn't obvious from the function name21:07
glewbut it it exists and the fix worked21:07
llnzok21:08
llnzcool21:08
*** verhoevenv_ has joined #tp21:38
*** verhoevenv has quit IRC21:39
*** verhoevenv__ has joined #tp21:39
*** verhoevenv_ has quit IRC21:42
*** Greywhind has quit IRC22:03
*** cahirwpz has quit IRC22:58
*** Greywhind has joined #tp23:46

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!