Commit Graph

13 Commits

Author SHA1 Message Date
Aurélien Gâteau
0aaf3f4760 Use the same text color as C++ Plasma::LineEdit
Plasma::LineEdit uses the button text color for its text. Do the same
in PlasmaComponents.TextField to avoid white text on white background with
Oxygen theme.

Also use button text color for PC.TextArea because it uses the same
background frame as PC.TextField (P.TextEdit, its C++ equivalent, does not
have any background frame)

REVIEW: 105159
2012-06-09 10:12:05 +02:00
Sebastian Kügler
ba689faf16 Fix warnings in color assignments 2012-06-05 03:31:04 +02:00
Sebastian Kügler
f3dff31f05 Fix password character 2012-05-21 19:40:23 +02:00
Sebastian Kügler
b63d1feae4 sync passwword charactor with desktop version 2012-05-21 19:40:23 +02:00
Sebastian Kügler
7024329085 Use black as text color in TextField and TextInput
It seems that there's not a single theme out there which properly sets
viewTextColor. The background of textedits is white, so the text has to
be black. On Air(-mobile) this is not a problem, since the text is black
anyway, on dark themes (which set the text color to white), text simply
isn't visible.

We'll have to look into how themes implement viewtextcolor, should
probably fix the themes instead of the components, but this makes it
work until we do.
2012-05-21 19:40:23 +02:00
Lamarque V. Souza
82fb04ccbf EditBubble.qml: put buttons in the order "copy" and then "paste", double
buttons' MouseArea sizeto make it easier to tap on them, and add space
between the buttons.

CCBUG: 296943
2012-03-30 20:08:42 -03:00
Marco Martin
de22db805a use the common clear icon 2012-01-13 20:19:08 +01:00
Sebastian Kügler
e66e97e11e Enable edit bubble also for TextArea
- split out placeEditBubble(mouse)
- improve positioning a bit more (still not perfect)
- Remove a bit of noise
2011-12-01 03:51:01 +01:00
Sebastian Kügler
10b4ad517d Put editbubble below cursor when there's not enough space above it
Also clean up a bit here and there, removing redundancy
2011-12-01 02:27:18 +01:00
Sebastian Kügler
296300085a use MouseListener for showing and positioning the EditBubble, basically works, needs polishing 2011-11-25 05:07:13 +01:00
Sebastian Kügler
9dad1d2d14 Move edit bubble into its own file
Also make the sizing fully dynamix, just set editBubble.iconSize, this
works fine with minimal 24px. Below that value, it will be too hard to
hit anyway.
2011-11-24 23:02:32 +01:00
Sebastian Kügler
c2a1cf238a Attemt at copy/pasting in LineEdit
This adds a small toolbar to the focused lineedit with copy and paste
buttons. Selection, TextInput.canPaste, etc are taken into account when
showing.

Works surprisingly well already, but should become a bit less intrusive.
2011-11-24 23:02:32 +01:00
Sebastian Kügler
3a74e05827 copy textfield from desktop component into touch, when merging back changes, consider this revision as base for now 2011-11-24 23:02:31 +01:00