Roman
Roman
Hi! eventMouseClick is for release mouse buttons.
Do you need to do something with the widget that you are leaving, or do something with another widget (which is on hover) when the mouse button is released?
Yeah, wait a minute! I am writing an example for you))
OK. Something like that. You need to implement InterfaceDraggable and InterfaceHLayout (for horizontal slider). ``` import java.awt.Color; import com.spvessel.spacevil.*; import com.spvessel.spacevil.Core.*; import com.spvessel.spacevil.Decorations.Style; import com.spvessel.spacevil.Flags.*; // InterfaceDraggable to recieve mouse...
Updated: I replaced BlankItem (Prototype) with Rectangle (Primitive) so that _handler doesn't get focus.
You're right. InterfaceDraggable is completely empty and just defines the draggable element within the framework. InterfaceHLayout disables the basic horizontal (basic vertical layout is still working) layout and allows you...
For some personal reasons we cannot publish full the source code now. But we plan to do it later.
Strange but your code works fine for me. ``` public class MyWindow : ActiveWindow { public override void InitWindow() { // window parameters SetParameters("MyWindow", "MyWindow", 300, 300); TextEdit textEdit =...
May be you are confused that I used SetFont(DefaultsService.GetDefaultFont(5)) instead of SetFontSize(5). I did that only to show that there is class-service DefaultService that could be useful.
For now there is no TableView analogue. But you can create a user interface element that will represent one row with the required number of cells and use it with...