Questions tagged [custom-draw]
67 questions
0
votes
1 answer
Draw only portion of a custom view
I have a custom view which is a RelativeLayout which contains a ListView (both are set to match parent - width and height).
On top of the list I have a View as seen in the picture below:
I want that the only part that will be drawn is the rect of…

Daniel L.
- 5,060
- 10
- 36
- 59
0
votes
2 answers
Which text margin does SWT Table use when drawing text?
I got a relatively easy question - but I cannot find anything anywhere to answer it.
I use a simple SWT table widget in my application that displays only text in the cells. I got an incremental search feature and want to highlight text snippets in…

Zordid
- 10,451
- 11
- 42
- 58
0
votes
1 answer
Custom draw selection rectangle
I am working on a custom control based on a ListView control. The goal of the control is to show the events name in the first column and the event duration on a timeline on the second column. I've implemented the custom drawing for the timeline…

goloap
- 126
- 6
-1
votes
1 answer
Can I custom draw Jface TableColumn headers?
I'm programming a JFace Table with owner-drawing by assigning the columns an OwnerDrawCellLabelProvider. I'm now happy with how the body of the table looks, but would like to also adjust the look of the table header.
Is there any API way I can get…

Alex Pruss
- 533
- 5
- 15
-3
votes
1 answer
Delphi TTreeView OnCustomDrawItem event slows it down
I have an outliner application (in Delphi 10.2 Tokyo) that I use for taking notes (I'll call it NoteApp). I have another application that I use for editing plain text (TextApp). Since I switch between these applications a lot, I decided to integrate…

blackcanopus
- 153
- 1
- 4
-3
votes
2 answers
Setting brush.color in listview's oncustomdraw functions crashes the application
I have some dynamically created listview components with dozens of items, and over 24 columns.
When i set some canvas properties (brush.color, for example) in the onCustomdrawXXX events, or onAdvancedCustomDrawXXX events of the listview, the…

beerwin
- 9,813
- 6
- 42
- 57
-5
votes
1 answer
HOW to understand custom drawn ? Which tools can I use?
I want to know the tools that beautiful UI programs using?

sakuya.luo
- 31
- 1
- 2