Hi i share my first controls, i use a lot of images on buttons and i need one.
This classes handle the label and image sizes, plus handle the spaces and margins.
Updated with new features and controls!! Next time will be the EditField with an image a great idea of @peacemaker.
XUIImageBotton and XUIImageTogleBotton controls haves this features:
Image: the filename to be loaded from the resources
Image orientation:
XUIAutoresizeLabel features
Updates on: https://github.com/alejandrojavierm/MyXUIControls
This classes handle the label and image sizes, plus handle the spaces and margins.
Updated with new features and controls!! Next time will be the EditField with an image a great idea of @peacemaker.
XUIImageBotton and XUIImageTogleBotton controls haves this features:
Image: the filename to be loaded from the resources
Image orientation:
- LEFT: classic <image> <space> <label> on the left, its have an
- CENTER: the same than left but on the center
- BOTTOM: the image are top of the label, both are centered
- LEFT
- CENTER
- RIGHT
- CLICK
XUIImageBotton features:
- Pressed Color
- Delay from base to pressed color
- Pressed Color
- IsPressed (propety)
- PressedImageFileName: the filename of the image to be loaded from the resources when its pressed.
XUIAutoresizeLabel features
- Auto Resize
Updates on: https://github.com/alejandrojavierm/MyXUIControls
Attachments
Last edited: